[GRASS-dev] compiling vdigit in wxPython

Michael Barton michael.barton at asu.edu
Sun Feb 24 16:48:54 EST 2008


On Feb 24, 2008, at 11:31 AM, William Kyngesburye wrote:

> 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/local/lib/wxPython-unicode-2.8.7.1/lib/wx/ 
>> include/mac-unicode-debug-2.8 -I/usr/local/lib/wxPython- 
>> unicode-2.8.7.1/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.
>

OK. I made the link and still got a similar, but a bit different error

Michael


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/local/lib/ 
wxPython-unicode-2.8.7.1/lib/wx/include/mac-unicode-debug-2.8 -I/usr/ 
local/lib/wxPython-unicode-2.8.7.1/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 assumed
driver.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


More information about the grass-dev mailing list