[GRASS-dev] [GRASS GIS] #101: r.los broken on Mac

#101: r.los broken on Mac
----------------------+-----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: critical | Milestone: 6.3.0
Component: default | Version: unspecified
Keywords: |
----------------------+-----------------------------------------------------
I'm having a bad GRASS day. I just tried to compile GRASS from the SVN
trunk to see if I could get a functional interpolation module. r.los won't
compile. Here is the error:

make: *** [default] Error 1
cmb-MBP-2:~/grass_dev/grass_src cmbarton$ cd ./r.los
-bash: cd: ./r.los: No such file or directory
cmb-MBP-2:~/grass_dev/grass_src cmbarton$ cd ./raster/r.los
cmb-MBP-2:~/grass_dev/grass_src/raster/r.los cmbarton$ make
make OBJ.i686-apple-darwin8.11.1
make[1]: `OBJ.i686-apple-darwin8.11.1' is up to date.
gcc -I/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include -g -O2 -DPACKAGE=\""grassmods"\"
-I/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/include
-o OBJ.i686-apple-darwin8.11.1/main.o -c main.c
In file included from main.c:38:
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:23:22: error: proj_api.h: No such
file or directory
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:25:29: error: ogr_srs_api.h: No
such file or directory
In file included from main.c:38:
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:36: error: parse error before
'projPJ'
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:36: warning: no semicolon at end of
struct or union
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:40: error: parse error before '}'
token
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:80: error: parse error before
'GPJ_grass_to_osr'
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:80: warning: data definition has no
type or storage class
/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-
darwin8.11.1/include/grass/gprojects.h:84: error: parse error before
'OGRSpatialReferenceH'
make: *** [OBJ.i686-apple-darwin8.11.1/main.o] Error 1

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/101&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#101: r.los broken on Mac
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: unspecified
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by hamish):

Hi,

apparently yesterday's r.los update to consider Earth's curvature was
missing a line in the Makefile. Solved (I hope) with r30626.

Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/101#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

Thanks.

Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Mar 18, 2008, at 6:26 PM, GRASS GIS wrote:

#101: r.los broken on Mac
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: unspecified
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by hamish):

Hi,

apparently yesterday's r.los update to consider Earth's curvature was
missing a line in the Makefile. Solved (I hope) with r30626.

Hamish

--
Ticket URL: <#101 (r.los broken on Mac) – GRASS GIS;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#101: r.los broken on Mac
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: critical | Milestone: 6.4.0
Component: default | Version: svn-trunk
Resolution: fixed | Keywords:
-----------------------+----------------------------------------------------
Changes (by hamish):

  * status: new => closed
  * version: unspecified => svn-trunk
  * resolution: => fixed
  * milestone: 6.3.0 => 6.4.0

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/101#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/