I was installing gentoo for the first time, using the 1.4_rc1 image. I started at stage 1, and bootstrapping went just fine. On to stage 2, I ran an 'emerge system' and that worked fine until I got to Tk. I thought at first that maybe Tcl wasn't there, so I moved into /usr/portage/dev-lang/tcl/ and ran emerge on that ebuild script. Worked like a champ. So now the problem must have been in Tk. I tried a couple times to emerge in the tk directory on that ebuild script, and it barfed on tclInt.h, saying it couldn't be found. So I noticed in the ebuild script that some shell code in /usr/lib/tclConfig.sh was responsible for setting up the Tcl environment. Upon examination of this shell code, I noticed the TCL_SRC_DIR variable was pointing to the portage work directory for Tcl instead of where the files are off of /usr/lib To get it to work, I changed this line in /usr/lib/tclConfig.sh : TCL_SRC_DIR='/mnt/data/tmp/portage/tcl-8.3.3-r3/work/tcl8.3.3' to TCL_SRC_DIR='/usr/lib/tcl8.3/include' (That /mnt/data/tmp is my own PORTAGE_TEMPDIR setting.) After that fix, I could emerge tk and now I'm proceeding with the rest of the install of stage 2. I noticed that in Debian, there's a TCL_INC_DIR that is specified for the generic directory of Tcl, along with the TCL_SRC_DIR. Perhaps that would offer a decent solution ? I would try to nail this down further and submit a patch, but I'm still in stage 2, so it's something for the future...
Can't reproduce this. It's probably the install CD having an older revision of tcl, where we don't do proper dosedding. Reopen if it's still around in _rc2; it's at least not a problem in the current main tree.
Moving these so we can remove the "Install CD" component from "Gentoo Linux". I apologize to everyone for this spam, but according to the bugzilla developers, this is the only reasonable way to do this.