[GRASS-dev] geos error in vdigit (osx grass7 build)
massimo di stefano
massimodisasha at yahoo.it
Sun May 10 11:15:37 EDT 2009
Hi All,
tring to build grass_trunk on mac osx i get these error in vdigit :
error: geos_c.h: No such file or directory
seemes it fails to find geos include files.
macbook-pro-15-di-sasha:grass7 sasha$ locate geos_c.h
/Library/Frameworks/GEOS.framework/Versions/3/Headers/geos_c.h
/Library/Frameworks/GEOS.framework/Versions/3/unix/include/geos_c.h
i used these cofigure line : --with-geos=/Library/Frameworks/
GEOS.framework/Versions/3/Programs/geos-config
macbook-pro-15-di-sasha:grass7 sasha$ cd /Users/Shared/source/grass7/
gui/wxpython/vdigit
macbook-pro-15-di-sasha:vdigit sasha$ make
python setup.py build_ext --swig=/usr/bin/swig --swig-opts=-c++ --
build-lib=OBJ.i386-apple-darwin9.6.0 --build-temp=OBJ.i386-apple-
darwin9.6.0
running build_ext
building '_grass7_wxvdigit' extension
swigging grass7_wxvdigit.i to grass7_wxvdigit_wrap.cpp
/usr/bin/swig -python -c++ -o grass7_wxvdigit_wrap.cpp grass7_wxvdigit.i
gcc -DNDEBUG -g -Os -Wall -Wstrict-prototypes -I/Users/Shared/source/
grass7/dist.i386-apple-darwin9.6.0/include -arch ppc -arch i386 -Os -
fno-common -pipe -DPACKAGE="grasslibs" -D_FILE_OFFSET_BITS=64 -
D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -I/Users/Shared/source/grass7/
dist.i386-apple-darwin9.6.0/include -I/Library/Frameworks/
GDAL.framework/Versions/1.6/Headers -I/usr/lib/wx/include/mac-unicode-
debug-2.8 -I/usr/include/wx-2.8 -I/System/Library/Frameworks/
Python.framework/Versions/2.5/include/python2.5 -c cats.cpp -o
OBJ.i386-apple-darwin9.6.0/cats.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
In file included from driver.h:31,
from cats.cpp:19:
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:7:20: error: geos_c.h: No such file or directory
In file included from driver.h:31,
from cats.cpp:19:
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:7:20: error: geos_c.h: No such file or directory
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:473: error: expected constructor, destructor, or type
conversion before ‘*’ token
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:474: error: expected constructor, destructor, or type
conversion before ‘*’ token
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:475: error: expected constructor, destructor, or type
conversion before ‘*’ token
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:473: error: expected constructor, destructor, or type
conversion before ‘*’ token
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:474: error: expected constructor, destructor, or type
conversion before ‘*’ token
/Users/Shared/source/grass7/dist.i386-apple-darwin9.6.0/include/grass/
Vect.h:475: error: expected constructor, destructor, or type
conversion before ‘*’ token
lipo: can't open input file: /var/folders/6+/6+DsK0o5ElaVySZK3VoNS+++
+TI/-Tmp-//ccTJMqZU.out (No such file or directory)
error: command 'gcc' failed with exit status 1
make: *** [OBJ.i386-apple-darwin9.6.0/_grass7_wxvdigit.so] Error 1
Massimo Di Stefano
massimodisasha a yahoo.it
epifanio on irc.freenode.net /join gfoss
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
More information about the grass-dev
mailing list