Opened 17 years ago

Closed 17 years ago

#101 closed defect (fixed)

r.los broken on Mac

Reported by: cmbarton Owned by: grass-dev@…
Priority: critical Milestone: 6.4.0
Component: Default Version: svn-trunk
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

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

Change History (2)

comment:1 by hamish, 17 years ago

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

comment:2 by hamish, 17 years ago

Milestone: 6.3.06.4.0
Resolution: fixed
Status: newclosed
Version: unspecifiedsvn-trunk
Note: See TracTickets for help on using tickets.