Version 3 of Steps to build Tcl/Tk 8.4.0 on MacOS X

Updated 2002-09-14 11:46:35

Christopher Sean Morrison wrote to the mailto:[email protected] mailing list on Sep 12, 2002:

Daniel,

Thanks for the tips. Went and did a clean recompile and things worked out just great. We were using an 8.4.0 distribution archive version downloaded from sf, and the directory name assumption appears to be what was biting us.

For anyone else trying to get things to work, here is the exact process that worked clean for us:

 [[downloaded tcl and tk 8.4.0 from sourceforge]
 tar zxvf tcl8.4.0-src.tar.gz
 tar zxvf tk8.4.0-src.tar.gz
 mv tcl8.4.0 tcl
 mv tk8.4.0 tk
 cd tcl/macosx
 make >& make.log
 sudo make install
 cd ../../tk/macosx
 make >& make.log
 sudo make install
 open /Applications/Utilities/Wish\ Shell.app

Now... to get our application to link against the new tcl/tk libraries and see what happens..


I tried these steps on a Titanium 400 PowerBook and was unsuccessful. Tcl built, but making Tk failed. It said it could not find tcl.h. I copied this file from Tcl into Tk, then it failed saying it could not find tclInt.h

I also tried the usual ./configure in the unix subdirectory.

Clarifications?

Thanks,

Bruce


LV Bruce, ask your question at the above mentioned mailing list for help. But the behavior you mention above indicates that something strange is going on with the compile not finding the tcl directory - almost as if the system isn't finding the tcl directory.


See also MacOS X.