[SOLVED] LFS 6.6 - chap6.7 - Linux-184.108.40.206 API Headers (problems in this step)
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Both find and xargs are part of the Findutils package. Guess something went wrong during the build/install (or did you unintentionally skip it?).
You are just starting chapter 6 so going back to 5 should still be possible:
- Leave the chrooted env (if you haven't already),
- Switch to the lfs user (su - lfs),
- Check if the LFS variable is still set (echo $LFS),
- Goto the sources directory (cd $LFS/sources),
- Unpack the Findutils package (tar zxf findutils-4.4.2.tar.gz)
- Enter the newly created directory and execute the steps in 5.19. Findutils-4.4.2
After that log out again and start with chap 6 again: If you did not reboot the mounts etc from chap 6.2 should still be in place, so start with chap 6.4.
Ok yes i have skipped that by accident, i look at lfs user bash_history i just saw that,
ill go back and do as you said.
here my history file: diffutils is step 5.18 and gawk 5.20 oops!
tar -zxf diffutils-2.8.1.tar.gz
rm -Rf diffutils-2.8.1
tar -jxf gawk-3.1.7.tar.bz2
rm -Rf gawk-3.1.7
Going back to chapter 5 once you started chapter 6 isn't always possible, it depends a bit on where you are in chapter 6. I do believe it should be possible for you in this case. Worst case scenario: You need to start all over again. But lets try something else first!
The reason for the problems: One of the last steps in chapter 5 (5.32) is changing the ownership of $LFS/tools (chown -R root:root $LFS/tools), which means that the tools dir and everything inside it is given to root (owner and group) and user lfs doesn't have access anymore.
Possible solution for the problem:
- As root (normal root, not the chrooted env root) change $LFS/tools to user LFS: chown -R lfs $LFS/tools,
- Execute the findutils install steps as user lfs (chapter 5.19.) also see post #8,
- As (normal) root change the $LFS/tools permissions back to root: chown -R root:root $LFS/tools (chapter 5.32).
From tis point on you can start with chapter 6. I'm not sure if you rebooted in the meantime, so start with chapter 6.2. You will get some error messages which you can probably ignore (some of the directories already exist due to your previous visit to chapter 6).
Before you start: Remove the unpacked findutils directory first!
I was doing this: chown -v lfs $LFS/tools , that is why it didn't work,
I got the findutils installed , got a backup of /tools, permissions are set back
to normal root and no restarts on system so i can go back to chap6 steps i guess, is it possible to just enter in the chroot invironment (6.4)
since nothing else changed?
Anything else i should be concerned about ?