[GRASS5] GRASS binaries for Mac OS X

Markus Neteler neteler at itc.it
Mon Sep 22 12:51:55 EDT 2003


Besides the XDRIVER compilation problem, here another (?strange)
compilation error:

[timonchiotwin:general/manage/lib] markus% make
gcc -L/sw/lib -L/grass57exp/dist.powerpc-apple-darwin6.6/lib    -dynamiclib
-Wl,-flat_namespace,-U,_environ,-U,_cuserid -L/sw/lib
-L/grass57exp/dist.powerpc-apple-darwin6.6/lib      \
        OBJ.powerpc-apple-darwin6.6/add_elem.o
OBJ.powerpc-apple-darwin6.6/ask.o OBJ.powerpc-apple-darwin6.6/copyfile.o
OBJ.powerpc-apple-darwin6.6/do_copy.o OBJ.powerpc-apple-darwin6.6/do_list.o
OBJ.powerpc-apple-darwin6.6/do_remove.o
OBJ.powerpc-apple-darwin6.6/do_rename.o OBJ.powerpc-apple-darwin6.6/empty.o
OBJ.powerpc-apple-darwin6.6/find.o OBJ.powerpc-apple-darwin6.6/get_len.o
OBJ.powerpc-apple-darwin6.6/menu.o OBJ.powerpc-apple-darwin6.6/read_list.o
OBJ.powerpc-apple-darwin6.6/show_elem.o
OBJ.powerpc-apple-darwin6.6/sighold.o -lgrass_gis -lgrass_datetime  -lintl
-lgrass_vect -lgrass_dig2 -lgrass_shape -lgrass_dgl -lgrass_rtree
-lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase  -o
/grass57exp/dist.powerpc-apple-darwin6.6/lib/libgrass_manage.dylib
ld: Undefined symbols:
_list
/usr/bin/libtool: internal link edit command failed
make: ***
[/grass57exp/dist.powerpc-apple-darwin6.6/lib/libgrass_manage.dylib] Error 1

Were to search for 'list'?

####################

An inclusion problem also in
i.smap/bowman
i.smap/shapiro

write_img() is in shapiro, but needed in the dynamic lib bowman/
(libgrass_ismap). Should this be moved to bowman/?

####################

Current status:
 I have now made a quick test with the incomplete GRASS 5.7 (will
 continue to compile later): 
 IT RUNS now! The 'lock' program starts now (and the modules as well).
 Finally the binaries are relocatable... But please try at home from 
 CVS and verify. A fresh script to run ./configure can be found
 here:
 http://grass.itc.it/grass51/source/conf_scripts/macosx/


Suggestions for above remaining problems (XDRIVER, general manage, i.smap) 
are welcome. These problems are the same for 5.3 as the code is
just linked into 5.7. And the decision how to treat gis/putenv environ() has
to be taken.

Cheers

 Markus




More information about the grass-dev mailing list