Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 01-03-2005, 12:53 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
binutils first pass make install failure in LFS-6.0

well i was trying to install binutils in the first pass.....everything went well
until the actual install into the tools directory......
i donot know what i screwed up....i followed every thing to the upmost care.....
i have a 2.4.22-1.15 fedora core 1 system.......but the LFS -6.0 documentation tells me that
the system should be comiled with a 2.6.2 kernel with a ht that the problemm.......
i am posting the details of the output here..

make install...
blah blah blah....
cd ../../../binutils- && \
$restore $backupdir/* `echo "./../../../binutils-" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; \
exit $rc
mkdir: cannot create directory `.am2372': Permission denied
../../../binutils- Permission denied
make[3]: *** [../../../binutils-] Error 2
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make: *** [install-gas] Error 2

culd somone plz tellme whr i m going wrong..
Old 01-03-2005, 01:26 PM   #2
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
did you make the symlink to a dir /tools on the host and change the ownership to whichever user you are using to build the system?

as far as the 2.6 kernel, when I did lfs 6 i used a 2.4.28 kernel on the host but I also modified lfs because I wanted a 2.4 kernel on that too. It gives a reason on the requirement for a 2.6 kernel on the host ( IIRC mounting the psuedo directories for 2.4 and 2.6 is different) so it depends on what you want to use on the host ( I'm sure there is a way you can do it with 2.4 though.
Old 01-05-2005, 01:12 PM   #3
LQ Newbie
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
yes i did create a symlink named 'tools' in the / directory...
Old 01-05-2005, 03:34 PM   #4
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
and sure you configured it with --prefix=/tools
you didn't by chance do any of this as root did you?


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
LFS-5.0 GCC problem with binutils-2.14 pass 1 NCappaZoo Linux From Scratch 6 06-14-2009 03:47 AM
building Binutils-2.14 pass 1 (LFS 5.1.1) alihamza Linux From Scratch 1 10-10-2005 07:37 AM
Binutils- - Pass 1 stuck up after make install kagashe Linux From Scratch 9 10-09-2005 11:42 AM
make: *** [configure-libiberty] Error 1 in 5.4. Binutils- - Pass 1 Flash_G Linux From Scratch 3 06-30-2005 08:51 PM
LFS 5.1.1: another problem after binutils pass 2 7.e.Q Linux From Scratch 1 07-12-2004 04:37 AM

All times are GMT -5. The time now is 05:36 AM.

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