[GRASS-dev] problems compiling GRASS 6.3 cvs on Mac
Glynn Clements
glynn at gclements.plus.com
Sat Oct 20 21:57:55 EDT 2007
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.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list