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

William Kyngesburye woklist at kyngchaos.com
Wed Feb 25 21:40:38 EST 2009


On Feb 25, 2009, at 7:16 PM, William Kyngesburye wrote:

>> (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.
>
... unless they built the binary with tcltk at /usr/local/lib...  I  
installed R commander (wow, lots of stuff installed!) and I see in the  
tcltk2 module that it's linked to /usr/local/lib/libtcl8.5.dylib.

hmmm... As an alternative for GRASS, so it can find and link tcltk  
aqua and not interfere with your X11 tcltk, you could set up a  
separate folder with the symlinks to the framework:

/usr/local/tcltkaqua/lib/libtcl8.5.dylib -> tcl framework
/usr/local/tcltkaqua/lib/libtk8.5.dylib -> tk framework

configure GRASS with: --with-tcltk-includes="/Library/Frameworks/ 
Tcl.framework/Headers /Library/Frameworks/Tk.framework/Headers / 
Library/Frameworks/Tk.framework/PrivateHeaders" --with-tcltk-libs=/usr/ 
local/tcltkaqua/lib

Then there's no need to mess with Platform.make.

Then see if the errors in libform continue.

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

"Mon Dieu! but they are all alike.  Cheating, murdering, lying,  
fighting, and all for things that the beasts of the jungle would not  
deign to possess - money to purchase the effeminate pleasures of  
weaklings.  And yet withal bound down by silly customs that make them  
slaves to their unhappy lot while firm in the belief that they be the  
lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan




More information about the grass-dev mailing list