[GRASS-dev] compiling vdigit in wxPython
Michael Barton
michael.barton at asu.edu
Sun Feb 24 12:29:39 EST 2008
I got farther trying to compile vdigit today. Unfortunately, it still
isn't quite there.
First, here is the configure script I used. It configured without error.
./configure --with-freetype --with-freetype-includes="/Library/
Frameworks/FreeType.framework/unix/include/freetype2 /Library/
Frameworks/FreeType.framework/unix/include" --with-freetype-libs=/
Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/Library/
Frameworks/GDAL.framework/Programs/gdal-config --with-proj --with-
proj-includes=/Library/Frameworks/PROJ.framework/unix/include --with-
proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-
share=/Library/Frameworks/PROJ.framework/Resources/proj --with-jpeg-
includes=/Library/Frameworks/UnixImageIO.framework/unix/include --
with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --
with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/
include --with-png-libs=/Library/Frameworks/UnixImageIO.framework/
unix/lib --with-tiff-includes=/Library/Frameworks/
UnixImageIO.framework/unix/include --with-tiff-libs=/Library/
Frameworks/UnixImageIO.framework/unix/lib --without-postgres --
without-mysql --with-odbc --with-sqlite --with-sqlite-libs=/Library/
Frameworks/SQLite3.framework/unix/lib --with-sqlite-includes=/Library/
Frameworks/SQLite3.framework/unix/include --with-fftw-includes=/
Library/Frameworks/FFTW3.framework/unix/include --with-fftw-libs=/
Library/Frameworks/FFTW3.framework/unix/lib --with-cxx --with-tcltk-
includes=/usr/local/tcltk/include --with-tcltk-libs=/usr/local/tcltk/
lib --with-x --without-motif --without-glw --with-opengl=x11 --with-
opengl-libs=/usr/X11R6/lib --without-readline --prefix=/Applications/
Grass --enable-macosx-app --with-python --with-wxwidgets=/usr/local/
lib/wxPython-unicode-2.8.7.1/bin/wx-config
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
So here is the error.
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$
So what is my next step?
Michael
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080224/c3e26cf8/attachment-0001.html
More information about the grass-dev
mailing list