[expect] configure: error: Can't find Tcl [8.4.10] private headers

Matt Bartley mbartley at exair.org
Wed Jun 15 00:14:45 PDT 2005


While building lfs-development (SVN-20040614), I found that expect won't
compile in chapter 5.  The configure script bombs out with the error:

configure: error: Can't find Tcl private headers

I don't understand how expect's configure script works, but it seems
to be thrown off by the version number of tcl, since the third field
of tcl's version number is now (as of June 12th) a two-digit number
(10 instead of 9).

I found two ways to get around this:

1.  Change the name of tcl's source code directory tree:

mv ../tcl8.4.10 ../tcl8.4.9
 ./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no

2.  Add an option to the configure line:

./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no \
--with-tclinclude=../tcl8.4.10

-- 
"Life's not fair, but the root password helps." -- BOFH



More information about the lfs-dev mailing list