<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
So here is a test that I ran for William that suggests that there are indeed 2 architectures compiled into gettext.
<div><br>
</div>
<div>Michael <br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">______________________________</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">C. Michael Barton </span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Director, Center for Social Dynamics & Complexity</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Professor of Anthropology, School of Human Evolution & Social Change</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Head, Graduate Faculty in Complex Adaptive Systems Science</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<span class="Apple-style-span" style="font-size: 12px; font-family: Helvetica;">Arizona State University</span></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">Tempe, AZ  85287-2402</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">USA</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<font class="Apple-style-span" face="Helvetica" size="3" style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="font-size: 12px;">voice:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre;">
</span>480-965-6262 (SHESC), 480-965-8130/</span></font><span style="font-size: 12px;">727-9746</span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"> (CSDC)</span></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">www: <span class="Apple-tab-span" style="white-space: pre;">
</span><a href="http://csdc.asu.edu">http://csdc.asu.edu</a>, <a href="http://shesc.asu.edu">
http://shesc.asu.edu</a></span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span class="Apple-tab-span" style="white-space: pre;"></span><a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a></span></font></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
</div>
<div><br>
<div>Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica';">Michael Barton <<a href="mailto:michael.barton@asu.edu">michael.barton@asu.edu</a>><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b>
</span><span style="font-family:'Helvetica';"><b>Re: [SPAM?] Re: GRASS 7 not finding gettext</b><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica';">April 3, 2014 at 5:16:02 PM MST<br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica';">Kyngesburye William <<a href="mailto:kyngchaos@kyngchaos.com">kyngchaos@kyngchaos.com</a>><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Cc: </b></span><span style="font-family:'Helvetica';">Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>><br>
</span></div>
<br>
<div>The following with my old installation and the new compilations of today:<br>
<br>
/usr/local/lib/libintl.dylib: Mach-O universal binary with 2 architectures<br>
/usr/local/lib/libintl.dylib (for architecture x86_64):<span class="Apple-tab-span" style="white-space:pre">
</span>Mach-O 64-bit dynamically linked shared library x86_64<br>
/usr/local/lib/libintl.dylib (for architecture i386):<span class="Apple-tab-span" style="white-space:pre">
</span>Mach-O dynamically linked shared library i386<br>
<br>
Michael<br>
______________________________<br>
C. Michael Barton <br>
Director, Center for Social Dynamics & Complexity<br>
Professor of Anthropology, School of Human Evolution & Social Change<br>
Head, Graduate Faculty in Complex Adaptive Systems Science<br>
Arizona State University<br>
Tempe, AZ  85287-2402<br>
USA<br>
<br>
voice: <span class="Apple-tab-span" style="white-space:pre"></span>480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)<br>
www: <span class="Apple-tab-span" style="white-space:pre"></span><a href="http://csdc.asu.edu">http://csdc.asu.edu</a>,
<a href="http://shesc.asu.edu">http://shesc.asu.edu</a><br>
<span class="Apple-tab-span" style="white-space:pre"></span><span class="Apple-tab-span" style="white-space:pre"></span><a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a><br>
<br>
On Apr 3, 2014, at 5:11 PM, William Kyngesburye <kyngchaos@kyngchaos.com> wrote:<br>
<br>
<blockquote type="cite">what doe you get with<br>
<br>
file /usr/local/lib/libintl.dylib<br>
<br>
On Apr 3, 2014, at 7:08 PM, Michael Barton <Michael.Barton@asu.edu> wrote:<br>
<br>
<blockquote type="cite">Hmm.<br>
<br>
I had no problem with compiling GRASS when I last did it in February.<br>
<br>
When I just now recompiled gettext (current version), I used the same setup I did before, except that I’ve limited it to OSX 10.7 and above.<br>
<br>
====================<br>
<br>
export MACOSX_DEPLOYMENT_TARGET=10.7<br>
<br>
./configure --prefix=/usr/local --disable-dependency-tracking --disable-java --disable-libasprintf CFLAGS="-Os -arch x86_64 -arch i386 -fno-common -isysroot /Developer/SDKs/MacOSX10.7.sdk”<br>
<br>
make<br>
<br>
sudo make install<br>
<br>
==================<br>
<br>
<br>
MIchael<br>
<br>
______________________________<br>
C. Michael Barton <br>
Director, Center for Social Dynamics & Complexity<br>
Professor of Anthropology, School of Human Evolution & Social Change<br>
Head, Graduate Faculty in Complex Adaptive Systems Science<br>
Arizona State University<br>
Tempe, AZ  85287-2402<br>
USA<br>
<br>
voice: <span class="Apple-tab-span" style="white-space:pre"></span>480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)<br>
www: <span class="Apple-tab-span" style="white-space:pre"></span>http://csdc.asu.edu, http://shesc.asu.edu<br>
<span class="Apple-tab-span" style="white-space:pre"></span><span class="Apple-tab-span" style="white-space:pre"></span>http://www.public.asu.edu/~cmbarton<br>
<br>
On Apr 3, 2014, at 4:48 PM, William Kyngesburye <kyngchaos@kyngchaos.com> wrote:<br>
<br>
<blockquote type="cite">It looks like your gettext/libintl is missing 32bit arch.<br>
<br>
On Apr 3, 2014, at 4:16 PM, Michael Barton <michael.barton@asu.edu> wrote:<br>
<br>
<blockquote type="cite">I don’t know what has changed, but I just recompiled gettext and redid configure. It still does not find gettext.<br>
<br>
The configure flag I’m using is --with-nls<br>
<br>
That’s still correct, right?<br>
<br>
Here is the error:<br>
<br>
checking whether to use NLS... yes<br>
checking for gettext... no<br>
checking for gettext in -lintl... no<br>
configure: error: *** Unable to locate gettext() function.<br>
<br>
Here is what seems to be the right place from configure.log<br>
<br>
; return 0; }<br>
configure:11940: checking whether to use FreeType<br>
configure:11959: checking for location of FreeType includes<br>
configure:11985: checking for ft2build.h<br>
configure:11993: gcc -E  -I/Library/Frameworks/FreeType.framework/unix/include/freetype2 -I/Library/Frameworks/FreeType.framework/unix/include  conftest.c >/dev/null 2>conftest.out<br>
configure:12027: checking for location of FreeType library<br>
configure:12052: checking for FT_Init_FreeType in -lfreetype<br>
configure:12069: gcc -o conftest -g -O2   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk   -L/Library/Frameworks/FreeType.framework/unix/lib   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk  conftest.c -lfreetype   1>&5<br>
configure:12110: checking whether to use NLS<br>
configure:12130: checking for gettext<br>
configure:12156: gcc -o conftest -g -O2   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk    -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk  conftest.c  1>&5<br>
Undefined symbols for architecture i386:<br>
"_gettext", referenced from:<br>
 _main in conftest-qEjAiU.o<br>
ld: symbol(s) not found for architecture i386<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
configure: failed program was:<br>
#line 12133 "configure"<br>
#include "confdefs.h"<br>
/* System header to define __stub macros and hopefully few prototypes,<br>
which can conflict with char gettext(); below.  */<br>
#include <assert.h><br>
/* Override any gcc2 internal prototype to avoid an error.  */<br>
/* We use char because int might match the return type of a gcc2<br>
builtin and then its argument prototype would still apply.  */<br>
char gettext();<br>
<br>
int main() {<br>
<br>
/* The GNU C library defines this for functions which it implements<br>
to always fail with ENOSYS.  Some functions are actually named<br>
something starting with __ and the normal name is an alias.  */<br>
#if defined (__stub_gettext) || defined (__stub___gettext)<br>
choke me<br>
#else<br>
gettext();<br>
#endif<br>
<br>
; return 0; }<br>
configure:12174: checking for gettext in -lintl<br>
configure:12191: gcc -o conftest -g -O2   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk    -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk  conftest.c -lintl   1>&5<br>
ld: library not found for -lintl<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
configure: failed program was:<br>
#line 12180 "configure"<br>
#include "confdefs.h"<br>
/* Override any gcc2 internal prototype to avoid an error.  */<br>
/* We use char because int might match the return type of a gcc2<br>
builtin and then its argument prototype would still apply.  */<br>
char gettext();<br>
<br>
int main() {<br>
gettext()<br>
; return 0; }<br>
<br>
<br>
Michael<br>
____________________<br>
C. Michael Barton<br>
Director, Center for Social Dynamics & Complexity <br>
Professor of Anthropology, School of Human Evolution & Social Change<br>
Head, Graduate Faculty in Complex Adaptive Systems Science<br>
Arizona State University<br>
<br>
voice: <span class="Apple-tab-span" style="white-space:pre"></span>480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)<br>
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Apr 3, 2014, at 12:07 PM, Markus Neteler <neteler@osgeo.org> wrote:<br>
<br>
<blockquote type="cite">On Thu, Apr 3, 2014 at 8:16 PM, Michael Barton <Michael.Barton@asu.edu> wrote:<br>
<blockquote type="cite">I'm trying to compile GRASS 7 RB.<br>
<br>
Something has changed with the configuration checks so that it no longer can<br>
find my installation of gettext. It worked OK on 3 January 2014, the last<br>
time I compiled GRASS 7.<br>
</blockquote>
<br>
It must be a local problem: the configure* files have not been<br>
modified for 7+ months:<br>
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_7_0<br>
<br>
See the "config.log" files for any errors.<br>
<br>
Markus<br>
</blockquote>
<br>
</blockquote>
<br>
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
http://www.kyngchaos.com/<br>
<br>
"I ache, therefore I am.  Or in my case - I am, therefore I ache."<br>
<br>
- Marvin<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
http://www.kyngchaos.com/<br>
<br>
"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."<br>
<br>
- Hitchhiker's Guide to the Galaxy<br>
<br>
<br>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>