[GRASS-dev] compiling vdigit in wxPython
woklist at kyngchaos.com
Sun Feb 24 13:31:23 EST 2008
On Feb 24, 2008, at 11:29 AM, Michael Barton wrote:
> Second, I DIDN'T make the link to libgdi.so because...
> 1) my wx folder already has a _gdi_.so file AND
> 2) I don't seem to have a libgdi.so file
It's the other way around - libgdi.so is the symlink you're creating
to the existing _gdi_.so.
> cmb-MBP-2:~/grass_dev/grass_src cmbarton$ cd ./gui/wxpython/vdigit
> cmb-MBP-2:~/grass_dev/grass_src/gui/wxpython/vdigit cmbarton$ make
> Makefile:23: warning: overriding commands for target `clean'
> ../../../include/Make/Rules.make:72: warning: ignoring old commands
> for target `clean'
> c++ -c -fpic -I/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
> darwin8.11.1/include -I/Library/Frameworks/GDAL.framework/Versions/
> 1.4/unix/include -I/Library/Frameworks/Python.framework/Versions/2.5/
> include/python2.5 -I/Library/Frameworks/Python.framework/Versions/
> 2.5/include/python2.5 -arch ppc -arch i386 -isysroot /Developer/SDKs/
> MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-
> precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -I/usr/
> debug-2.8 -I/usr/local/lib/wxPython-unicode-188.8.131.52/include/wx-2.8 -
> D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__
> driver.cpp -o OBJ.i686-apple-darwin8.11.1/driver.o
> driver.cpp:1: warning: -fpic is not supported; -fPIC
> assumeddriver.cpp:1: warning: -fpic is not supported; -fPIC assumed
> lipo: can't create output file: OBJ.i686-apple-darwin8.11.1/driver.o
> (No such file or directory)
> make: *** [OBJ.i686-apple-darwin8.11.1/driver.o] Error 1
> cmb-MBP-2:~/grass_dev/grass_src/gui/wxpython/vdigit cmbarton$
That's strange - I wonder where that "-dynamic" came from? That's a
linker option, and this is just a compile step. That may be what is
causing the unhelpful error.
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
Theory of the Universe
There is a theory which states that if ever anyone discovers exactly
what the universe is for and why it is here, it will instantly
disappear and be replaced by something even more bizarrely
inexplicable. There is another theory which states that this has
-Hitchhiker's Guide to the Galaxy 2nd season intro
More information about the grass-dev