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

William Kyngesburye woklist at kyngchaos.com
Wed Feb 25 20:16:10 EST 2009


On Feb 25, 2009, at 5:29 PM, Michael Barton wrote:

> 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 don't see any recent changes to the lib/form makefile that would do  
this.  Somehow the whole line is getting inserted for $(TCLTKLIBS) in  
the makefile.  Almost like it's set in Platform.make like:

TCLTKLIBS = TCLTKLIBS = -framework Tcl -framework Tk

> (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).
>
Fail to build/install or fail to run?  Are you installing a binary r  
commander package or building from source?  A binary shouldn't care  
about any symlinks when it runs.


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect




More information about the grass-dev mailing list