[GRASS-dev] Re: [GRASS GIS] #564: python_grass7 compilation

GRASS GIS trac at osgeo.org
Fri Jun 19 04:26:20 EDT 2009


#564: python_grass7 compilation
------------------------+---------------------------------------------------
  Reporter:  neuba      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect     |      Status:  reopened                 
  Priority:  major      |   Milestone:  7.0.0                    
 Component:  Compiling  |     Version:  svn-trunk                
Resolution:             |    Keywords:  swig                     
  Platform:  Linux      |         Cpu:  x86-32                   
------------------------+---------------------------------------------------
Comment (by hamish):

 Glynn:
 > Er, right. It's using $(VECT_INC), which is always empty.
 > It should be using $(VECT_CFLAGS), which contains $(GDALCFLAGS).
 > Try r37944.

 Ok, now it gets a little further but fails on vedit_wrap.c:
 {{{
 gcc -I/usr/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/include
 -I/usr/src/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/include  -ggdb
 -march=amdfam10 -Wall -Werror-implicit-function-declaration    -fPIC
 -I/usr/include/python2.5 -I/usr/include/python2.5
 -DPACKAGE=\""grasslibs"\"   -I/usr/src/grass/svn/trunk/dist.x86_64-
 unknown-linux-gnu/include -I/usr/src/grass/svn/trunk/dist.x86_64-unknown-
 linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/vedit_wrap.o -c
 vedit_wrap.c
 In file included from /usr/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/include/grass/vect/digit.h:3,
                  from /usr/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/include/grass/Vect.h:4,
                  from /usr/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/include/grass/vedit.h:5,
                  from vedit_wrap.c:2693:
 /usr/src/grass/svn/trunk/dist.x86_64-unknown-linux-
 gnu/include/grass/vect/dig_structs.h:24:21: error: ogr_api.h: No such file
 or directory
 }}}


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/564#comment:4>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list