expect -c "spawn ls"

gbell72 at fastmail.fm gbell72 at fastmail.fm
Sun Jan 18 09:02:06 PST 2004


On Sun, 18 Jan 2004 18:01:36 +1100, "Greg Schafer" <gschafer at zip.com.au>
said:
> On Sun, Jan 18, 2004 at 01:45:50AM -0500, gbell72 at fastmail.fm wrote:
> > > 1) type -p gcc
> >  /tools/bin/gcc
> 
> Good.
> 
> > > 2) echo $PATH
> >  /tools/bin/:/usr/local/bin:/usr/bin
> 
> Good. (um, sort of - where's /bin ?)
> 
> > > 3) readelf -l /tools/bin/expect | grep terpr
> >  [Requesting program interpreter: /lib/ld-linux.so.2]
> 
> Bad.
> 
> > > 4) grep ld-linux /tools/lib/gcc-lib/*/*/specs
> >  %{!static:--eh-frame-hdr} -m elf+i386 %{shared:-shared} %{!shared:
> >  &{!ibcs: %{!static:    %{rdynamic:-export-dynamic}
> >  %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}}
> >  %{static:-static}}}
> 
> Good.
> 
> Ok, somehow, expect got miscompiled. Maybe you compiled it out of
> sequence
> or your $PATH was wrong at the time of compilation or whatever. How ever
> it
> happened, it doesn't matter. What's important is to fix it. I'd also be
> wary
> of your Tcl install as well.
> 
> Redo tcl, expect and dejagnu then you should be all set to continue.

I've redone all three packages as suggested in the order that the book
says and I still receive the
original error.
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
-- 
  
  gbell72 at fastmail.fm

-- 
http://www.fastmail.fm - IMAP accessible web-mail



More information about the lfs-support mailing list