Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-16-2005, 05:16 PM
|
#1
|
Member
Registered: May 2005
Distribution: Suse 9.3, Gentoo
Posts: 87
Rep:
|
binutils first pass error
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.
|
|
|
07-17-2005, 11:23 PM
|
#2
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Rep:
|
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.
|
|
|
07-21-2005, 11:19 AM
|
#3
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,360
|
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.
|
|
|
09-04-2005, 07:23 AM
|
#4
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Rep:
|
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.
|
|
|
09-04-2005, 10:45 AM
|
#5
|
Member
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190
Rep:
|
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.
Good Luck
|
|
|
09-05-2005, 01:42 AM
|
#6
|
LQ Newbie
Registered: Sep 2005
Posts: 6
Rep:
|
I've figured it out  Thank you, hoes. You were right.
The case is omitted in the LFS book and I tried to follow the exact instructions. However one has to think anyway.
I made chown -R and chgrp -R. And it works. Thank you.
|
|
|
All times are GMT -5. The time now is 05:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|