I suspect that something must have changed in the package itself
for the time the book was written.
The md5sum of the tar.gz package is different than in the BLFS svn book,
however the *.tar.gz package downloaded from
aunduin.linuxfromscratch.org and *.tar.gz.md5sum match...
And having a closer look at the configuration process I get warning:
(...)
checking for Tcl configuration... configure: warning: Can't find Tcl configurati
on definitions
Dbgconfigure: line 742: #: No such file or directory
cp: cannot stat `./Dbg18605/tcldbgcf.h': No such file or directory
Begin tests for function/library dependencies. Tests may be repeated
up to three times. First test is for building Expect's shared library.
(...)
It says that it cannot find Tcl configuration.
After same steps, while configuring testsuite it finds
the script tclConfig.sh.
(...)
configuring in testsuite
running /bin/sh ./configure --prefix=/usr --with-tclinclude=/usr/include
--enable-shared --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking Tcl build library... -L/home/juras/done/tcl8.4.13/unix -ltcl8.4 -ldl
-lpthread -lieee -lm
checking for Tcl_CreateCommand... yes
checking if Tcl library build specification is valid... yes
(...)
The problem probably is, that the configure scripts assume that you have
the Tcl source directory available when you compile expect (I've read
this in the expect's README file).
I always delete the source directories of the installed packages.
So it wasn't there when I was configuring expect.
That is why the --with-tcl=/usr/lib helps.
After having added this option, the compilation is OK.
Please, comment my observations.
I can't find any other explanation...
Regards,
juras256
---------------------
Panorama Internetu - prognoza pogody, poczta e-mail z największym załącznikiem,
SMS, wyszukiwarki: Gooru, Anonser, serwisy: randki, ogłoszenia, wakacje,
program TV, Kina, muzyka, DVD, newsy, inne.
http://www.panoramainternetu.pl/ (http://www.epf.pl/)
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page