LinuxQuestions.org
Visit Jeremy's Blog.
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 03-18-2003, 11:22 PM   #1
Sarist
LQ Newbie
 
Registered: Mar 2003
Posts: 4

Rep: Reputation: 0
Linux from Scratch 'make mrproper' error


Hi.
I couldn't find the answer to my problem in the forums.

I'm instlaling lfs and all went well until it was time to install the kernel headers.
http://www.au.linuxfromscratch.org/v...06/kernel.html

When I run make mrproper in the kernel source dir I get:

---------------
I have no name!:/usr/src/linux-2.4.19# make mrproper
make: /bin/sh: Command not found


make: /bin/sh: Command not found


Makefile:252: arch//Makefile: No such file or directory
make: /bin/sh: Command not found
`
`
make: *** No rule to make target `arch//Makefile'. Stop.

---------------

Earlier, I ran the:
export CFLAGS="-O3 -march=<athlon-xp>" &&
CXXFLAGS=$CFLAGS

command from:
http://hints.linuxfromscratch.org/hi...timization.txt
to optimize the building of the system. Now the value athlon-xp is not in the arch folder but it is an acceptable value listing here

I have followed all the commands in the manual of lfs carefully.
Thanks in advance.
 
Old 03-18-2003, 11:26 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Well, if there's a /bin/bash, you might want to
ln -s /bin/bash /bin/sh

Cheers,
Tink
 
Old 03-18-2003, 11:35 PM   #3
Sarist
LQ Newbie
 
Registered: Mar 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Wow. I suck..



Thanks. =)
 
Old 03-18-2003, 11:47 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
No worries ...

I've overlooked more obvious things than that
in the past, and most certainly will again ... ;)

/me suffers from myopia way too often :}


Cheers,
Tink
 
Old 03-19-2003, 10:32 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: A little more suitable in the actual LFS forum. Thanks.
 
Old 10-14-2009, 10:42 PM   #6
dragonfever
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
Question

I couldn't find the answer to my problem in the forums.

I'm instlaling lfs and all went well until it was time to install the kernel headers.
when I input the command "make mrproper",errors exits as:

root:/# make mrproper
make: *** No rule to make target `mrproper'. Stop.

I have entered the following command wishing to make do:

ln -s /bin/bash /bin/sh

but this seems no use!

what should i do?
Thank you in advance!
 
Old 10-15-2009, 08:32 AM   #7
dragonfever
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
Smile errors when installing Linux API Headers

I'm instlaling lfs and all went well until it was time to install the kernel headers.
when I input the command "make mrproper",errors exits as:

root:/# make mrproper
make: *** No rule to make target `mrproper'. Stop.

I have entered the following command wishing to make do:

ln -s /bin/bash /bin/sh

but this seems no use!

what should i do?
Thanks
 
0 members found this post helpful.
Old 10-15-2009, 08:58 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

First: You re-opened an ancient thread (2003) for this, next time start a new thread so it gets the attention it needs.

Did you unpack the linux kernel source, enter the directory and then run the make mrproper command?

PS: Do read the error message carefully, your error doesn't have anything to do with the error the OP posted:

Original by OP:
I have no name!:/usr/src/linux-2.4.19# make mrproper
make: /bin/sh: Command not found


Your error:
root:/# make mrproper
make: *** No rule to make target `mrproper'. Stop.


In this case creating the link (bash -> sh) doesn't hurt (should have been done already...), but in other cases you could do more damage by "just" executing/implementing commands.
 
  


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
I want to make a linux from scratch mraisy Linux From Scratch 1 04-24-2005 02:38 PM
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
lfs 5.0 make mrproper error meadowfair Linux From Scratch 5 10-25-2003 03:40 AM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 07:48 PM

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

All times are GMT -5. The time now is 09:40 PM.

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
Open Source Consulting | Domain Registration