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

Tushar Teredesai sukucorp at gmail.com
Wed Jun 15 12:15:42 PDT 2005


On 6/15/05, Matt Bartley <mbartley at exair.org> wrote:
> 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
> 

Option 3. Install the headers in /tools/include as per the directions
in BLFS instead of keeping the source tree around.

-- 
Tushar Teredesai
   http://www.linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/



More information about the lfs-dev mailing list