[GRASS-dev] Re: [GRASS GIS] #700: error after running make

GRASS GIS trac at osgeo.org
Sun Jul 26 06:33:51 EDT 2009


#700: error after running make
---------------------------+------------------------------------------------
  Reporter:  pvanbosgeo    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Installation  |     Version:  svn-trunk                
Resolution:                |    Keywords:  make, install            
  Platform:  Linux         |         Cpu:  x86-64                   
---------------------------+------------------------------------------------
Old description:

> I am trying to update my GRASS 6.4 with r38526 (on Ubuntu 9.04), but I
> get an error:
>
> /home/pbreugel/Software/GRASS/grass64_release/swig/python
>
> Running make in the above-mentioned directory gives the following error
> message:
>
> In file included from proj_wrap.c:2694:
> /home/pbreugel/Software/GRASS/grass64_release/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:
> /home/pbreugel/Software/GRASS/grass64_release/dist.x86_64-unknown-linux-
> gnu/include/grass/gprojects.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘GPJ_grass_to_osr’
> /home/pbreugel/Software/GRASS/grass64_release/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
> `/home/pbreugel/Software/GRASS/grass64_release/swig/python'
> make: *** [default] Error 2
>
> I am not sure how to continue from there, any help appreciated
>
> Paulo

New description:

 I am trying to update my GRASS 6.4 with r38526 (on Ubuntu 9.04), but I get
 an error:

 {{{
 /home/pbreugel/Software/GRASS/grass64_release/swig/python
 }}}

 Running make in the above-mentioned directory gives the following error
 message:

 {{{
 In file included from proj_wrap.c:2694:
 /home/pbreugel/Software/GRASS/grass64_release/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:
 /home/pbreugel/Software/GRASS/grass64_release/dist.x86_64-unknown-linux-
 gnu/include/grass/gprojects.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘GPJ_grass_to_osr’
 /home/pbreugel/Software/GRASS/grass64_release/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
 `/home/pbreugel/Software/GRASS/grass64_release/swig/python'
 make: *** [default] Error 2
 }}}

 I am not sure how to continue from there, any help appreciated

 Paulo

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/700#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list