This is a minor annoyance and can be worked around but if you get the fossil head of 8.5 and do this on Lion:
make -C tcl/macosx
make -C tcl/macosx install INSTALL_ROOT=/foo/install
make -C tk/macosx/
make -C tk/macosx install INSTALL_ROOT=/foo/install
The makefiles do not correctly set the install path in the Wish binary that gets put in /foo/install/Library. Consequently
if you run the wish in /foo/install/usr/local/bin/wish, that bash script will run the right binary, but the binary will not
find the right Tk dylib. Instead it will load the one that ships with Lion in /System/Library. You can force dyld to do the
right thing with the following (this is a developer convenience, not a deployment strategy):
export DYLD_FRAMEWORK_PATH=/foo/install/Library/Frameworks
I know nothing of autoconf so I wouldn't know how to fix this properly although the tool that the makefile needs to run to set this is install_name_tool. "man install_name_tool" will tell all.
Cheers,
- James
|