Re: Ch 5.10 Expect in SVN-20050621

2005-06-24 Thread Jeremy Huntwork
Speek wrote: I noticed that the procedures for installing tcl and expect in ch 5 are changed in SVN-20050623. But in 5.9 this line is wrong: export TCLPATH=`pwd` because the current working directory is /mnt/lfs/sources/tcl8.4.10/unix The TCLPATH should be one dir up. Good catch. Will fix it mo

Re: Ch 5.10 Expect in SVN-20050621

2005-06-24 Thread Speek
I noticed that the procedures for installing tcl and expect in ch 5 are changed in SVN-20050623. But in 5.9 this line is wrong: export TCLPATH=`pwd` because the current working directory is /mnt/lfs/sources/tcl8.4.10/unix The TCLPATH should be one dir up. Wim -- http://linuxfromscratch.org/mailma

Re: Ch 5.10 Expect in SVN-20050621

2005-06-23 Thread Matthew Burgess
Speek wrote: It doesn't seem to work for me. I've tried it now with Crux 2.1 and Slackware current as host systems. Maybe something has changed in recent versions of tcl or expect? OK, can you fall back to an earlier version of tcl then - tcl-8.4.9, for example. There was an earlier report t

Re: Ch 5.10 Expect in SVN-20050621

2005-06-23 Thread Speek
Hi Matt, > I'm not sure. What do your source and build directory layouts look like? All the source tarballs are in /mnt/lfs/sources. They are unpacked right there with 'tar xjvf .tar.bz2'. > If you place the expect and tcl tarballs in the same directory and > extract them from there, the c

Re: Ch 5.10 Expect in SVN-20050621

2005-06-23 Thread Wiliam Harrington
On Tue, 21 Jun 2005 20:18:56 +0200, Speek wrote: > When running in ch 5.10 (Expect) ./configure --prefix=/tools --with- tcl=/ > tools/ lib --with-x=no, an error occurs: checking for Tcl private > headers... checking for tclInt.h... no configure: error: Can't find Tcl > private headers > > Buildin

Re: Ch 5.10 Expect in SVN-20050621

2005-06-22 Thread Jeremy Huntwork
Matthew Burgess wrote: I'm not sure. What do your source and build directory layouts look like? I know some folks have run into problems when they've done something like: Yes, and obviously there are many people that are running into similar problems. I personally wouldn't mind the book to

Re: Ch 5.10 Expect in SVN-20050621

2005-06-22 Thread Matthew Burgess
Speek wrote: To the LFS developers: is this a bug or is it something with my (and Brads) host system? My host system is Crux 2.1. Let me know if I can help figuring this out. I'm not sure. What do your source and build directory layouts look like? I know some folks have run into problems whe

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Speek
Ah, finally found it. I was looking in the tcl configure script with my sleepy head :-) But when lying in my bed it occurred to me it was more logical that you were talking about expect. So I came out and started the computer again. Ran ./configure --help in the expect source directory and found th

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Speek
Brad wrote: > I had the same problem as you (and I followed the book to the letter) with a > slightly older book from like June 15 (or something close to that). Anyway, > the file is in the src/generics directory. > If you poke around in the configure script there is a command line option to > spe

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Brad Rex
I had the same problem as you (and I followed the book to the letter) with a slightly older book from like June 15 (or something close to that). Anyway, the file is in the src/generics directory. If you poke around in the configure script there is a command line option to specify the include dire

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Jim Gifford
Jeremy Huntwork wrote: Speek wrote: tclInt.h does not exist in the tools directory. Did you 'make install' tcl? :P -- JH Did you delete the tcl source, it's required to leave the source there to build expect? -- -- [EMAIL PROTECTED] [EMAIL PROTECTED] LFS User # 2577 Registered L

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Speek
I had a look at the tcl config.log. It ends with: configure:7563: checking for sys/filio.h configure:7573: gcc -pipe -E conftest.c >/dev/null 2>conftest.out configure:7569:23: sys/filio.h: No such file or directory configure: failed program was: #line 7568 "configure" #include "confdefs.h" #inclu

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Jeremy Huntwork
Speek wrote: tclInt.h does not exist in the tools directory. Did you 'make install' tcl? :P -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Speek
Andrew Benton wrote: > It looks like you've got a space between the / and the word tools in > --with-tcl=/ tools No, the space is made by my email client. I use copy and paste from the book to the command-line. Also I checked with 'arrow-up' in bash history. > Did you install tclInt.h in tools?

Re: Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Andrew Benton
Speek wrote: When running in ch 5.10 (Expect) ./configure --prefix=/tools --with- tcl=/ tools/ lib --with-x=no, an error occurs: checking for Tcl private headers... checking for tclInt.h... no configure: error: Can't find Tcl private headers Building and installing tcl seemed to go fine. I did n

Ch 5.10 Expect in SVN-20050621

2005-06-21 Thread Speek
When running in ch 5.10 (Expect) ./configure --prefix=/tools --with- tcl=/ tools/ lib --with-x=no, an error occurs: checking for Tcl private headers... checking for tclInt.h... no configure: error: Can't find Tcl private headers Building and installing tcl seemed to go fine. I did not remove the t