[GRASS-dev] problems compiling GRASS 6.3 cvs on Mac

Michael Barton michael.barton at asu.edu
Sun Oct 21 15:51:00 EDT 2007


Thanks Glynn.

Michael


On 10/20/07 6:57 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> William Kyngesburye wrote:
> 
>> Hehe, I just had the same minutes ago...  From the link command, I
>> see that the libtiff dir is not included:
>> 
>> gcc -L/Users/Shared/src/GRASS/cvs/grass6/dist.i686-apple-darwin8.10.1/
>> lib -arch ppc -arch i386 -arch ppc -arch i386  -L/usr/local/pgsql/
>> lib   -o /Users/Shared/src/GRASS/cvs/grass6/dist.i686-apple-
>> darwin8.10.1/bin/r.out.tiff OBJ.i686-apple-darwin8.10.1/r.out.tiff.o
>> -lgrass_gis -lgrass_datetime -lz     -ltiff   -lz
>> 
>> I think the recent makefile cleanup may have triggered a problem with
>> the r.out.tiff makefile.  It seems that EXTRA_CFLAGS is no longer
>> added to link commands (which makes sense).  But the r.out.tiff
>> makefile doesn't add the libtiff path to LIBES:
>> 
>> LIBES = $(GISLIB) $(TIFFLIB)
>> 
>> It should probably be (indeed, this fixes it for me):
>> 
>> LIBES = $(GISLIB) $(TIFFLIBPATH) $(TIFFLIB)
>> 
>> (And TIFFLIBPATH should be removed from EXTRA_CFLAGS)
> 
> Fixed in CVS.

__________________________________________
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-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list