Ch 5.10 Expect in SVN-20050621
wwh20610 at cmsu2.cmsu.edu
Thu Jun 23 01:59:32 PDT 2005
On Tue, 21 Jun 2005 20:18:56 +0200, Speek wrote:
> When running in ch 5.10 (Expect) ./configure --prefix=/tools --with- tcl=/
> tools/ lib --with-x=no, an error occurs: checking for Tcl private
> headers... checking for tclInt.h... no configure: error: Can't find Tcl
> private headers
> Building and installing tcl seemed to go fine. I did not remove the tcl
> source directory. Any ideas?
>From Don Porter in the lfs-dev list:
I'm one of the maintainers of the Tcl programming language.
Lately we're seeing a small but increasing number of bug reports submitted
against Tcl coming from people attempting to follow the Linux From Scratch
I looked briefly at the online LFS instructions,
and it appears that Tcl is the first software package compile that is
attempted after the "adjustment of the toolchain".
In the bug reports we receive, it's clear that the problem is that
fundamental parts of the C library ( memcmp(), strstr(), etc.) are not
found when the configure/compile is attempted. This suggests to me that
something has gone wrong with the toolchain adjustment step, and the LFS
user has a system that isn't working sufficiently well for building Tcl.
I see that at the end of the "Adjusting the Toolchain" section,
a simple test is provided to check whether the toolchain adjustment was
completed successfully. Would it be possible to enhance that test so that
the ability to link against glibc and run programs using glibc is also
A test and failure at that point would help LFS users get on the right
track earlier, and would spare the Tcl developers getting sent these bogus
Thanks for whatever help/advice you can offer, and if this message is
misdirected, please offer guidance where else I should send it.
More information about the lfs-support