LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-15-2003, 04:33 PM   #1
meadowfair
LQ Newbie
 
Registered: Oct 2003
Distribution: LFS 5.0
Posts: 3

Rep: Reputation: 0
lfs 5.0 make mrproper error


I am trying to build lfs version 5.0.
Maybe I shouldn't have, but I didn't save my binutils directory, so I re-did it after chapter 5:
# Re-installation of Binutils
cd /mnt/lfs/lfs-5.0-packages
bzcat binutils-2.14.tar.bz2 | tar -xv
cd binutils-2.14

mkdir ../binutils-build
cd ../binutils-build
../binutils-2.14/configure --prefix=/tools \
--enable-shared --with-lib-path=/tools/lib
make
make check
# If there is a failure, it would look like this:
# make[1]: *** [check-binutils] Error 2
make install
make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
# End of re-installation

Question 1 - was this a mistake? If so, do I have to start all over again?

In chapter 6, I followed the rules, and came to the Installation of the kernel headers. I unpacked linux-2.4.22, and did the following:
cd linux-2.4.22
chown -R 0:0

this didn't work, so I entered:
chown -R 0:0 /tools
and this worked.
Then I entered:
make mrproper
and this message came up:
root:/tools/lfs-packages-5.0/linux-2.4.22# make mrproper
/bin/sh: line 1: sed: command not found
Makefile:259: arch//Makefile: No such file or directory
make: *** No rule to make target `arch//Makefile'. Stop.
Question 2
Was this related to Question 1, and if not, what can I do?
Should I just start all over again?
Thanks - Peter
 
Old 10-16-2003, 12:04 AM   #2
unixbrain
Member
 
Registered: Sep 2003
Posts: 33

Rep: Reputation: 15
try to make mrproper in the /binutils-build folder
 
Old 10-18-2003, 02:48 AM   #3
unixbrain
Member
 
Registered: Sep 2003
Posts: 33

Rep: Reputation: 15
Talking

I'm sorry. It should be /linux-version folder not the binutils-build folder. Got mixed-up. The version is the linux version u are using. Does it help?
 
Old 10-18-2003, 07:41 AM   #4
soulsniper
Member
 
Registered: Apr 2003
Distribution: Server= Fedora Core 2, Desktop= Ubuntu Hoary Preview
Posts: 41

Rep: Reputation: 15
Quote:
arch//Makefile

Seems like a typo to me. It shouldn't say arch//Makefile
Check your typing, its easy to make a mistake.
 
Old 10-23-2003, 10:39 AM   #5
Shachaf
Member
 
Registered: Sep 2003
Location: Port Townsend, WA
Posts: 30

Rep: Reputation: 15
Is sed installed? Is it in your path?
Try "chown -R root:root ." or "chown -R 0:0 .". If you installed glibc already, typing root:root will work. Note that you have to give chown the file/directory to be chowned.
 
Old 10-25-2003, 03:40 AM   #6
meadowfair
LQ Newbie
 
Registered: Oct 2003
Distribution: LFS 5.0
Posts: 3

Original Poster
Rep: Reputation: 0
make mrproper

Thanks for the replies.
I did the right thing, swallowed my ego and keen sense of 'gotta gedditdonetoday', scrubbed it and started all again.
I managed to complete the whole damn thing in one session, by taking it slowly.
I think the help in the book is probably set at the right level - obviously every man (woman) and his/her dog it going to do a lfs before they are quite ready. It's always a good way to learn in my experience, but obviously a bit of a hassle of the gurus out there.
I'm now starting blfs - which seems to be the real task, but it's a hassle because I can't get my USB ADSL Speedtouch talking - but that's another forum, I guess - I've downloaded all the gunk on pppoe and ppoa - aint life 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
Linux from Scratch 'make mrproper' error Sarist Linux From Scratch 7 10-15-2009 08:58 AM
make mrproper error pazkaw Linux - Newbie 1 04-02-2005 12:19 PM
Compiling the kernel: error with "make mrproper" dominik81 Linux - Newbie 1 06-10-2004 03:06 PM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 07:48 PM
LFS make mrproper prob bbenz3 Linux From Scratch 3 03-26-2002 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration