[SOLVED] The expect -c "spawn ls" check in section 6.12 of the book gives a segmentation fault
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The expect -c "spawn ls" check in section 6.12 of the book gives a segmentation fault
I am trying to build LFS 6.8 on an Ubuntu 11.04 machine. I am getting the following output when I try to run Binutils2.21 Installation check under section 6.12 of the LFS Book.
root:/sources/binutils-2.21# expect -c "spawn ls"
I do not understand if this is a problem, since the book states that I should get back a 'spawn ls' and I do get that, though I get a Seg fault afterwards.
I have followed the book except for one change. I automount the LFS partition under /mnt/lfs using the /etc/fstab file on startup. That seems to have worked fine so far. I have also set up the environment for PTY operation using the mounts and then used the chroot command as in the book.