[GRASS-dev] change in make for Mac causes errors in GRASS 6.5 compilation

Michael Barton michael.barton at asu.edu
Wed Feb 25 18:29:08 EST 2009


Hi,

Something changed since 8 February in the make files for Mac that is  
causing compiling GRASS 6.5 to fail in several places. It has to do  
with TclTk.

I get the following errors and all seem to be related to the same thing.

Errors in:
/Users/cmbarton/grass_dev/grass6_src/lib/form
/Users/cmbarton/grass_dev/grass6_src/db/drivers/ogr
/Users/cmbarton/grass_dev/grass6_src/raster/r.watershed/front
/Users/cmbarton/grass_dev/grass6_src/vector/v.digit
/Users/cmbarton/grass_dev/grass6_src/visualization/nviz

For ../lib/form, the detailed error is...

cmb-MBP-2:grass6_src cmbarton$ cd /Users/cmbarton/grass_dev/grass6_src/ 
lib/form
cmb-MBP-2:form cmbarton$ make
gcc -L/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
lib -arch i386 -Os -arch i386 -Os     -o /Users/cmbarton/grass_dev/ 
grass6_src/dist.i386-apple-darwin9.6.0/etc/form/form OBJ.i386-apple- 
darwin9.6.0/form.o -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis - 
lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      - 
lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz       -lgrass_gis - 
lgrass_datetime -lz     -lgrass_datetime \
				 TCLTKLIBS = -framework Tcl -framework Tk  -lz
i686-apple-darwin9-gcc-4.0.1: TCLTKLIBS: No such file or directory
i686-apple-darwin9-gcc-4.0.1: =: No such file or directory
make: *** [/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple- 
darwin9.6.0/etc/form/form] Error 1

Other modules give similar detailed errors, referring to TCLTKLIBS

In order to compile GRASS for TclTk aqua 8.5, I have to manually  
change platform make to have the line ...

TCLTKLIBS = -framework Tcl -framework Tk

Somehow this line is now causing problems.

(I know that William has a symlink to aqua TclTk, but I cannot do this  
because it makes R-Commander fail. I need the x11 version there).

So is there a new procedure? Is this a bug?

Thanks
Michael




More information about the grass-dev mailing list