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.
When I try and compile my first pass of binutils, I get the following answer
../binutils-2.15.94.0.2.2/configure: line 436 ./config.log: permission denied
I tried to su to fix the permissions, but now it wants a password. I am using the LFS LiveCD, so I can't get back to root to fix what I think the problem is.
Can anyone supply the password, or tell me if I am mistaken about it being a permission issue? Thanks.
it is a permission issue. Who owns the directory /mnt/lfs/sources? how about everything inside of it? I think that is what the problem is. I don't know the root password on the live cd, you could google for it.
The "permission denied" message is used, ahh, rather-a-lot in Unix/Linux. ... It could simply mean that the media involved, e.g. a CD-ROM, is (by its very nature) not writeable.
Determine, first, exactly where the "current directory" is. If it's the CD, then there's your problem. Otherwise, check the permissions on this directory against your own. It must be writeable.
I have the same problem. As was mentioned in a LFS 6.0 book I made: chown lfs $LFS/sources command. But I still can not compile from under the lfs user account. However root works perfect, but I guess it has different environment (paths, variables, etc). I have latest Kubuntu distributive 5.04 (Hoary) installed on hard drive. So no CD-ROM issues. I am totally lost.
I don't know about the CD-ROM issues, but I know a point of interest for Hard disk users.
Make sure that every file under $LFS is owned by lfs.
To you ArbuZz:
You omitted the -R switch in chown chown lfs $LFS/sources. In this way only the directory itself gets owned by lfs. To made everything IN the directory also property of lfs run:
[CODE]chown -R lfs $LFS/source[/CODE}
And apart from that you have to make sure that $LFS and everything in it is owned by lfs as well, so the program can put its executables in /lfs/tools/bin and other directories.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.