On 6/15/05, Matt Bartley <[EMAIL PROTECTED]> 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/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page