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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That only shows you typed the commands (which tells me you did not 'forget' this package). It does not show if all went well during compile and install.
Did you check to see if expect is present in /tools/bin?
Also check to see if your current PATH is correct (typo when entering the chrooted env??) and check if the re-adjusting of the tools chain was done correctly.
Yes, I can see that. What am I supposed to do about it? I have already run configure, make, and make install, and obviously that didn't work. So am I supposed to do it again and hope it turns out different this time?
You need to make sure that all the steps taken have the desired result(s). There is a small chance that you didn't do anything "wrong", this being a developers version of LFS.
If you need to go back to chapter 5 to install expect, you probably have to start from scratch (too many things have changed between installing expect and the point you are now).
I would suggest to use the stable LFS and not the developers version (did I assume correctly that this is your first lFS?).
If this would be my first LFS encounter I would start over. Even though this is a developers version I would put the blame on myself first.
Having a look at the mailing list cannot hurt, maybe someone did actually encounter the same problem you are having. But like I stated before I wouldn't raise an issue before making sure I wasn't to blame.
If you start from scratch again, do use the stable version. It works (I'm running on (B)LFS 6.5 atm).
Hope this helps.
BTW: My first attempt to install LFS failed completely, the second one worked like a charm. One thing I found out early: Don't deviate from the book before you know how LFS is set up and knowing what the possible impacts of your change are.
Tip: After you finish chapter 5 make a backup (also mentioned in chap 5.32). If something goes wrong later on you can wipe it all, put back the backup and start fresh with chapter 6.
Another tip: If at all possible don't stop after you start chapter 6. I never encounter problems when installing chapter 6 to end in one go. If I stop halfway and need to setup the environment again, about 50% of the time bad things start happening.
I don't think you need to start over. You could just exit the chroot go back and reinstall expect make sure you get not build errors when running make then reenter and continue. expect is obviously not a major problem building the other packages since they all completed successfully and your so early in the final part of the build process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.