LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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

Reply
 
Search this Thread
Old 04-17-2010, 06:49 AM   #1
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Rep: Reputation: 30
error chapter 5.23 LFS book 6.6


Hello,

I try to do the make install of this chapter and get this error :

make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/mnt/lfs/sources/gzip-1.4/lib'
make[3]: Leaving directory `/mnt/lfs/sources/gzip-1.4/lib'
make[2]: Leaving directory `/mnt/lfs/sources/gzip-1.4/lib'
make[1]: Leaving directory `/mnt/lfs/sources/gzip-1.4/lib'
Making install in doc
make[1]: Entering directory `/mnt/lfs/sources/gzip-1.4/doc'
make[2]: Entering directory `/mnt/lfs/sources/gzip-1.4/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/tools/share/info" || /bin/mkdir -p "/tools/share/info"
/bin/mkdir: cannot create directory `/tools': Permission denied
make[2]: *** [install-info-am] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gzip-1.4/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gzip-1.4/doc'
make: *** [install-recursive] Error 1


What went wrong ?

Roelof

Last edited by charlie_lab; 04-17-2010 at 10:15 AM.
 
Old 04-17-2010, 07:01 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 605

Rep: Reputation: 78
Code:
/bin/mkdir: cannot create directory `/tools': Permission denied
permission denied. You probably did this as a normal user instead of the root user.

Do note that LFS is not really easy to get going.
And after installation you should still do all package management yourself.
Maybe you should look at Gentoo(It depends on what you actually want to accomplish with this)?

Have fun
 
Old 04-17-2010, 07:12 AM   #3
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

I don't think that's the problem.
Im sure that I did su - lfs.

I looked at Gentoo and it's a good system but also can be easily messed up.
And on some parts like Xorg and Gnome there are behind LFS.

Roelof
 
Old 04-17-2010, 08:22 AM   #4
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Quote:
/bin/mkdir: cannot create directory `/tools': Permission denied
/tools should be a symlink to $LFS/tools at this point. So it should not try to create /tools.
In addition check, if you issued the chown at the beginning of chapter 5 correctly, i.e.
chown -R lfs:lfs /tools

CORRECTION:
The command
chown -v lfs $LFS/tools
is issued in chapter 4.3. Since it is an empty directory at this point there is no need to chown it recursively.

Last edited by crts; 04-17-2010 at 08:25 AM.
 
Old 04-17-2010, 10:15 AM   #5
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
HEllo crts,

You solved it.
It seems that the simlink was not right.

Roelof
 
Old 04-18-2010, 05:06 AM   #6
deadeyes
Member
 
Registered: Aug 2006
Posts: 605

Rep: Reputation: 78
Just a remark:
su - lfs
This does not make you root user but user "lfs".
So this user might not have proper rights to write to /tools.
However I can not guess what dir you actually had to put it (It was a long time ago since I tried lfs)

Quote:
I looked at Gentoo and it's a good system but also can be easily messed up.
And on some parts like Xorg and Gnome there are behind LFS.
I think that is bit of a misunderstanding from your part.
Probably you will more easily mess up your system when there is no package management, all manually ./configure, ...
Xorg and Gnome are not behind actually. You can easily install later version than the one marked as "stable". You can also use experimental stuff or compile from cvs or subversion and so have the latest build.

Have fun!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Question about moving to Chapter 6 in the LFS book. BrandonJ Linux From Scratch 2 04-05-2010 11:48 AM
Confusion on LFS book version 6.4 Chapter 5.6.1 with LiveCD on x86 Memory_the_Hedgehog Linux From Scratch 4 02-16-2009 09:08 PM
Grub error 21 with LFS 6.3 Chapter 8.4 bines Linux From Scratch 10 12-24-2008 03:18 PM
LFS-book vs LiveCD-hints Chapter 6.2 confusion AkBrian Linux From Scratch 2 03-04-2007 09:03 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration