I am still having problems compiling swig/python on Debian/Lenny (current
stable) / 64bit with the latest GRASS 6.5svn.

the proj headers are missing from the $() Make rules:
  "error: ogr_srs_api.h: No such file or directory"

it compiles in trunk ok.


[...]
gcc -I/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu/include  
-ggdb -march=amdfam10  -Wall -Werror-implicit-function-declaration    -fPIC   
-DPACKAGE=\""grasslibs"\" -fPIC -I/usr/include/python2.5 
-I/usr/include/python2.5    -DPACKAGE=\""grasslibs"\"  
-I/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu/include -o 
OBJ.x86_64-unknown-linux-gnu/proj_wrap.o -c proj_wrap.c
In file included from proj_wrap.c:2694:
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu/include/grass/gprojects.h:23:29:
 error: ogr_srs_api.h: No such file or directory
In file included from proj_wrap.c:2694:
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu/include/grass/gprojects.h:84:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'GPJ_grass_to_osr'
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-gnu/include/grass/gprojects.h:88:
 error: expected declaration specifiers or '...' before 'OGRSpatialReferenceH'
make[1]: *** [OBJ.x86_64-unknown-linux-gnu/proj_wrap.o] Error 1
make[1]: Leaving directory `/usr/local/src/grass/svn/grass65/swig/python'
make: *** [default] Error 2



?

thanks,
Hamish



      

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to