Ticket #101 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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:
Platform: CPU:

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

Changed 4 years ago 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

Changed 4 years ago by hamish

  • status changed from new to closed
  • version changed from unspecified to svn-trunk
  • resolution set to fixed
  • milestone changed from 6.3.0 to 6.4.0
Note: See TracTickets for help on using tickets.