[GRASS-dev] change in make for Mac causes errors in GRASS 6.5
compilation
Michael Barton
michael.barton at asu.edu
Wed Feb 25 22:43:27 EST 2009
On Feb 25, 2009, at 6:16 PM, William Kyngesburye wrote:
> 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'm blind. I guess I don't have even time to compile this correctly.
Thanks for spotting this silly error.
Michael
More information about the grass-dev
mailing list