[GRASS-dev] [bug #4901] (grass) g.setproj needs proj headers

Request Tracker grass-bugs at intevation.de
Mon Jul 24 22:59:40 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4901
-------------------------------------------------------------------------

Subject: g.setproj needs proj headers

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1 CVS

g.setproj needs PROJ headers to build.  In the past it has just happened to work since GDAL, whose 
headers are included, happened to be in the same location as PROJ.  With PROJ in a different location 
than GDAL, g.setproj fails to build because it can't find proj_api.h.

To fix, add $(PROJINC) to the g.setproj makefile, EXTRA_CFLAGS:

EXTRA_CFLAGS = $(GDALCFLAGS) $(PROJINC)


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list