Problem with Expect, BOOK-6.1-testing-20050105

Jens Olav Nygaard jens_olav.nygaard at
Sun Jan 9 05:26:07 PST 2005

> Any ideas?! Except trying to dig out the proper tcl848,
> which I'm now trying to do...

Just to update my own mail... Found 848 but to no avail...
To clarify, I run these commands as 'lfs':

   cd /lfs/sources/tcl
   rm -rf tcl8.4.9 tcl8.4.8
   tar xzf tcl8.4.8-src.tar.gz
   cd tcl8.4.8
   cd unix
   ./configure --prefix=/tools
   time make -j 2
   make install
   rm /tools/bin/tclsh
   ln -s tclsh8.4 /tools/bin/tclsh


   expect -c "spawn ls"
   Segmentation fault

Everything has worked so far, no signs of contamination either:

   which expect
   ldd /tools/bin/expect =>  (0xffffe000) => /tools/lib/ (0x40017000) => /tools/lib/ (0x400c5000) => /tools/lib/ (0x400c9000) => /tools/lib/ (0x400ec000) => /tools/lib/ (0x400f0000)
         /tools/lib/ (0x40000000)
   which ldd



More information about the lfs-dev mailing list