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

#700: error after running make
---------------------------+------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Installation | Version: svn-trunk
Keywords: make, install | Platform: Linux
      Cpu: x86-64 |
---------------------------+------------------------------------------------
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&gt;
GRASS GIS <http://grass.osgeo.org>

#700: error after running make
---------------------------+------------------------------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@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&gt;
GRASS GIS <http://grass.osgeo.org>

#700: error after running make
---------------------------+------------------------------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@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
---------------------------+------------------------------------------------
Comment (by neteler):

Please try the solution suggested here: http://lists.osgeo.org/pipermail/
grass-dev/2009-July/045295.html

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/700#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#700: error after running make
---------------------------+------------------------------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: svn-trunk
Resolution: fixed | Keywords: make, install
  Platform: Linux | Cpu: x86-64
---------------------------+------------------------------------------------
Changes (by pvanbosgeo):

  * status: new => closed
  * resolution: => fixed

Comment:

The problem seems to be solved with the latest update, after updating to
38537 I could run make without any further error message, thanks!

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/700#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>