Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Bill Northcott <w.northcott@un...> - 2005-07-18 04:25:03
Moving on from that last message, I tried to build a Tk-X11 on Tiger
after stripping out all the tcl tk installs except the Tiger system one.
This hits two problems:
1. The Apple install does not contain the private headers. This was
easily solved using a tcl source tree.
2. The final install dies thus:
Installing and cross-linking command (.n) docs
Making directory /Library/Frameworks/Tk.framework/Versions/8.4/
Installing private header files
/bin/sh: line 1: tclsh: command not found
make: *** [html-tk] Error 127
The cause of this seems to be the inclusion of html-tk in
$INSTALL_TARGETS. html-tk seems to need tclsh which is not part of
the Apple installation. This is curious because in the make file it
# TCL_EXE is the name of a tclsh executable that is available *BEFORE*
# running make for the first time. Certain build targets (make genstubs)
# need it to be available on the PATH. This executable should *NOT* be
# required just to do a normal build although it can be required to run
# make dist.
TCL_EXE = tclsh
So the makefile does not seem to take its own advice!
From: Bill Northcott <w.northcott@un...> - 2005-07-18 05:31:50
I built a Tk-X11 framework using Apple's supplied Tcl. It was
installed as the default /Library/Frameworks/Tk.framework.
Then as a starting point I built BLT (with the MacOS patches) using
an idiot configure with just '--enable-shared'. Having fixed a few
sizeof sillinesses in bltConfig.h, it all built and what is more it ran.
Now to the nastiness. The configure picked up the Apple tclConfig.sh
and tkConfig.sh in /usr/lib. These set the link flags to include '-
framework Tcl -framework Tk'. Of course this picked up Apple's Tcl
and the new Tk-X11! This happened to work for BLT but it does not
see to me to be desirable behaviour, because it ended up linking
against a different framework from that used for tkConfig.sh. The
whole issue will get more problematic if the Tcl/Tk in /Library/
Frameworks is 8.5 while the Apple installed one is still 8.4.
I really think the Tk-X11 framework needs to be named Tk-
X11.framework. So this sort of thing can't happen. Maybe other
things need to be changed as well. I will think about it for a bit.