[GRASS-dev] v.digit linking error on osx
Colin Rundel
rundel at gmail.com
Tue Apr 29 16:29:04 EDT 2008
I'm attempting to compile a svn snapshot on my macbook and I'm running
into a roadblock with getting v.digit to compile. I've followed the
instructions in the wxpython readme and created the symlink to
_gdi_.so from wxpython but I get the following error:
cc -dynamiclib -compatibility_version 6.4 -current_version 6.4 -
install_name /usr/local/grass-6.4.svn/lib/libgrass6_wxvdigit.dylib -o
OBJ.i686-apple-darwin9.2.2/_grass6_wxvdigit.dylib -L/Users/rundel/
Desktop/grass/grass6_devel/dist.i686-apple-darwin9.2.2/lib
OBJ.i686-apple-darwin9.2.2/cats.o OBJ.i686-apple-darwin9.2.2/digit.o
OBJ.i686-apple-darwin9.2.2/driver.o OBJ.i686-apple-darwin9.2.2/
grass6_wxvdigit_wrap.o OBJ.i686-apple-darwin9.2.2/line.o OBJ.i686-
apple-darwin9.2.2/select.o OBJ.i686-apple-darwin9.2.2/undo.o OBJ.i686-
apple-darwin9.2.2/vertex.o -lgrass_vect -lgrass_dbmibase -lgrass_gis -
lgrass_datetime -lz -lgrass_dbmiclient -lgrass_dbmibase -
lgrass_gis -lgrass_datetime -lz -lgrass_gis -lgrass_datetime -
lz -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz -
lgrass_rtree -lgrass_gis -lgrass_datetime -lz -lgrass_linkm -
lgrass_rtree -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz -
lgrass_rtree -lgrass_dgl -lgrass_rtree -lgrass_linkm -
lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -
lz -lgrass_gis -lgrass_datetime -lz -lgrass_dbmibase -
lgrass_gis -lgrass_datetime -lz -L/Library/Frameworks/
GDAL.framework/Versions/1.5/unix/lib -lgdal -lgrass_gis -
lgrass_datetime -lz -L/Library/Frameworks/GDAL.framework/Versions/
1.5/unix/lib -lgdal -lgrass_vedit -lgrass_gis -lgrass_datetime -lz
-lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz -
lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -
lz -lgrass_gis -lgrass_datetime -lz -lgrass_dgl -lgrass_dig2
-lgrass_gis -lgrass_datetime -lz -lgrass_rtree -lgrass_gis -
lgrass_datetime -lz -lgrass_linkm -lgrass_rtree -L/usr/local/
lib -framework IOKit -framework Carbon -framework Cocoa -framework
System -framework QuickTime -lwx_macu_richtext-2.8 -lwx_macu_aui-2.8 -
lwx_macu_xrc-2.8 -lwx_macu_qa-2.8 -lwx_macu_html-2.8 -lwx_macu_adv-2.8
-lwx_macu_core-2.8 -lwx_base_carbonu_xml-2.8 -lwx_base_carbonu_net-2.8
-lwx_base_carbonu-2.8 -L/Library/Frameworks/Python.framework/Versions/
2.5/lib/python2.5/config -ldl -lpython2.5 -lgdi
ld: in /usr/local/lib/libgdi.so, can't link with bundle (MH_BUNDLE)
only dylibs (MH_DYLIB)
collect2: ld returned 1 exit status
make: *** [OBJ.i686-apple-darwin9.2.2/_grass6_wxvdigit.dylib] Error 1
This seems to have something to do with how I've compiled wxpython
on my system, but playing with the obvious build flags for wxpython
has had no effect ( I've tried both the current stable release and svn).
Just as a philosophical aside, I havent had much time to explore the
wxpython code yet, but what was the compelling reason for the use of
the PseudoDC in the first place? Does the C++ driver provide a
significant speed up or is it something else that I am missing?
Thanks,
-Colin
More information about the grass-dev
mailing list