<HTML>
<HEAD>
<TITLE>Re: [GRASS-dev] Not universal building on Mac</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Agustin,<BR>
<BR>
When and if you get a current Mac build from the cvs of this week, can you check to see how a barscale and legend are displaying in the GUI?<BR>
<BR>
Thanks<BR>
Michael<BR>
<BR>
<BR>
On 5/9/07 6:51 AM, "Agustin Diez Castillo" <Agustin.Diez@uv.es> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Errors compiling latest cvs on macosx intel, when using universal flags( </SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>export CFLAGS="-arch ppc -arch i386"; export CXXFLAGS="-arch ppc -arch i386"; export LDFLAGS="-arch ppc -arch i386")</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>. Without them works.<BR>
<BR>
/usr/bin/install -c -m 644 scripts.hmp /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/fonts<BR>
gtcltk<BR>
if [ ! -d /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/gtcltk ]; then mkdir -p /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/gtcltk; fi<BR>
for file in *.tcl ; do /usr/bin/install -c -m 644 $file /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/gtcltk/ ; done<BR>
gcc -I/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/include -g -O3 -DPACKAGE=\""grassmods"\" -I/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/include \<BR>
-o OBJ.i686-apple-darwin8.9.1/grocat.o -c grocat.c<BR>
gcc -L/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/lib -arch ppc -arch i386 -arch ppc -arch i386 -L/usr/local/pgsql/lib OBJ.i686-apple-darwin8.9.1/grocat.o -o /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/grocat<BR>
/usr/bin/ld: for architecture ppc<BR>
/usr/bin/ld: warning OBJ.i686-apple-darwin8.9.1/grocat.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)<BR>
/usr/bin/ld: Undefined symbols:<BR>
_main<BR>
collect2: ld returned 1 exit status<BR>
lipo: can't open input file: /var/tmp//cchnyodT.out (No such file or directory)<BR>
make[2]: *** [/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/grocat] Error 1<BR>
form<BR>
..........<BR>
gcc -L/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/lib -arch ppc -arch i386 -arch ppc -arch i386 -L/usr/local/pgsql/lib -g -O3 -I/Library/Frameworks/GDAL.framework/unix/include -I/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/include -o OBJ.i686-apple-darwin8.9.1/test test.c -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz -lgrass_rtree -lgrass_rtree \<BR>
-lgrass_gis -lgrass_datetime -lz -lgrass_datetime -lz <BR>
/usr/bin/ld: for architecture ppc<BR>
/usr/bin/ld: Undefined symbols:<BR>
_dig__fread_port_C<BR>
_dig__fread_port_D<BR>
_dig__fread_port_F<BR>
_dig__fread_port_I<BR>
_dig__fread_port_L<BR>
_dig__fread_port_S<BR>
_dig__fwrite_port_C<BR>
_dig__fwrite_port_D<BR>
_dig__fwrite_port_F<BR>
_dig__fwrite_port_I<BR>
_dig__fwrite_port_L<BR>
_dig__fwrite_port_S<BR>
_dig_fflush<BR>
_dig_fseek<BR>
_dig_init_portable<BR>
_dig_set_cur_port<BR>
collect2: ld returned 1 exit status<BR>
lipo: can't open input file: /var/tmp//ccC8XXDG.out (No such file or directory)<BR>
make[3]: *** [OBJ.i686-apple-darwin8.9.1/test] Error 1<BR>
Vlib<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics & Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>