[GRASS-dev] [GRASS GIS] #564: python_grass7 compilation
GRASS GIS
trac at osgeo.org
Sun Apr 19 20:51:18 EDT 2009
#564: python_grass7 compilation
-------------------------+--------------------------------------------------
Reporter: neuba | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: default | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
I am trying to compile python_grass7 (i configure grass using this
command: ./configure --with-cxx --with-python=/usr/bin/python2.5-config
--with-wxwidgets=/usr/bin/wx-config --with-postgres --enable-largefile
--with-cairo --with-proj-share=/usr/share/proj/ --without-freetype --with-
gdal=/usr/bin/gdal-config --with-proj-includes=/usr/include/) but i got
the following error:
ake[1]: entrant dans le répertoire «
/home/danho/gis_soft/grass_trunk/swig/python »
make[1]: « /home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-
gnu/etc/python/swig/_utils.so » est à jour.
make[1]: « /home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-
gnu/etc/python/swig/_date.so » est à jour.
make[1]: « /home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-
gnu/etc/python/swig/_grass.so » est à jour.
make[1]: « /home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-
gnu/etc/python/swig/_math.so » est à jour.
gcc -I/home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-gnu/include -g
-O2 -fPIC -I/usr/include/python2.5 -I/usr/include/python2.5
-DPACKAGE=\""grasslibs"\" -I/home/danho/gis_soft/grass_trunk/dist.i686-
pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/proj_wrap.o -c proj_wrap.c
Dans le fichier inclus à partir de proj_wrap.c:2623:
/home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-
gnu/include/grass/gprojects.h:23:29: erreur: ogr_srs_api.h : Aucun fichier
ou dossier de ce type
In file included from proj_wrap.c:2623:
/home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-
gnu/include/grass/gprojects.h:84: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘GPJ_grass_to_osr’
/home/danho/gis_soft/grass_trunk/dist.i686-pc-linux-
gnu/include/grass/gprojects.h:88: erreur: expected declaration specifiers
or ‘...’ before ‘OGRSpatialReferenceH’
make[1]: *** [OBJ.i686-pc-linux-gnu/proj_wrap.o] Erreur 1
make[1]: quittant le répertoire «
/home/danho/gis_soft/grass_trunk/swig/python »
make: *** [default] Erreur 2
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/564>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list