LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-09-2004, 09:40 AM   #1
yussef
Member
 
Registered: Sep 2004
Location: St Andrews, United Kingdom
Distribution: Ubuntu Breezy 5.10
Posts: 31

Rep: Reputation: 15
make: *** No rule to make target 'menuconfig'


I have just install Debian and I want to install the 2.6 kernel
However when I type the ' make menuconfig' command here is what i get:
Code:
make: *** No rule to make target 'menuconfig'. Stop
I'm a beginner to linux can you tell me what to do
Thanx
 
Old 09-09-2004, 10:03 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Did you issue the command in the same directory as the Makefile?

John
 
Old 09-09-2004, 10:43 AM   #3
yussef
Member
 
Registered: Sep 2004
Location: St Andrews, United Kingdom
Distribution: Ubuntu Breezy 5.10
Posts: 31

Original Poster
Rep: Reputation: 15
yes i did
 
Old 09-09-2004, 10:54 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Re: make: *** No rule to make target 'menuconfig'

Quote:
Originally posted by yussef
I have just install Debian and I want to install the 2.6 kernel
However when I type the ' make menuconfig' command here is what i get:
Code:
make: *** No rule to make target 'menuconfig'. Stop
I'm a beginner to linux can you tell me what to do
Thanx
A guide to compiling a kernel the Debian way you should look at the packages needed I believe you are missing a couple.

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

Edit: You should also mkdir /sys and add this to the /etc/fstab to mount the new sysfs that is used with a 2.6 kernel.

Code:
## Needed for kernel 2.6
none            /sys            sysfs   defaults                0       0
And will want to make sure that you have the package module-init-tools installed so you will be able to boot a 2.6 kernel.

Last edited by HappyTux; 09-09-2004 at 10:59 AM.
 
Old 09-09-2004, 12:43 PM   #5
yussef
Member
 
Registered: Sep 2004
Location: St Andrews, United Kingdom
Distribution: Ubuntu Breezy 5.10
Posts: 31

Original Poster
Rep: Reputation: 15
thanks a lot Happy Tux
i'll try that right now
 
Old 09-09-2004, 03:53 PM   #6
yussef
Member
 
Registered: Sep 2004
Location: St Andrews, United Kingdom
Distribution: Ubuntu Breezy 5.10
Posts: 31

Original Poster
Rep: Reputation: 15
ok i got as far as the
Code:
bash:/usr/src/linux$ fakeroot make-kpkg --append-to-version=.030320 kernel_image
but i get that error during this process:

make[2] : ***[_modinst_post] Error 1
make[2]: Leaving directory '/usr/src/linux-2.6.8'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory '/usr/src/linux-2.6.8'


what did i do wrong?
thnx
 
Old 09-09-2004, 04:55 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Quote:
Originally posted by yussef
ok i got as far as the
Code:
bash:/usr/src/linux$ fakeroot make-kpkg --append-to-version=.030320 kernel_image
but i get that error during this process:

make[2] : ***[_modinst_post] Error 1
make[2]: Leaving directory '/usr/src/linux-2.6.8'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory '/usr/src/linux-2.6.8'


what did i do wrong?
thnx
Most likely nothing, what branch are you using woody? That really looks like it might be the module-init-tools not being installed did you make sure that the package was installed as I suggested. If so and you are using woody you need to either go to www.backports.org or www.apt-get.org and get a line to put into your sources list to install it and related packages or probably the best solution would be to just change the instances of woody or stable to sarge or testing in the /etc/apt/sources.list then apt-get update and apt-get dist-upgrade to take your entire distro to testing then you will have everything you need.

BTW when you snip the output like this you should take at least 15-20 sometimes more lines above it so we can see what is going on just before the failure. You would not by any chance still have that part laying around would you?

Last edited by HappyTux; 09-09-2004 at 04:56 PM.
 
Old 09-10-2004, 01:26 AM   #8
yussef
Member
 
Registered: Sep 2004
Location: St Andrews, United Kingdom
Distribution: Ubuntu Breezy 5.10
Posts: 31

Original Poster
Rep: Reputation: 15
the initial problem that i had was that i could not get the nforce drivers
installed, therfore i do not have acess to the internet so i cant upgrade
to a sarge (a least not that i know of).

I'll try to recompile a new kernel (based on 2.6 and get back to u to tell you
the errors and above that i get
thnx
 
Old 09-10-2004, 06:17 AM   #9
yussef
Member
 
Registered: Sep 2004
Location: St Andrews, United Kingdom
Distribution: Ubuntu Breezy 5.10
Posts: 31

Original Poster
Rep: Reputation: 15
ok i have followed your suggestion that is install sarge and i did
and it works perfectly... i've been able to install kernel 2.6 by the
linux26 command.

thnx a lot for your info
 
Old 09-10-2004, 06:36 AM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Quote:
Originally posted by yussef
ok i have followed your suggestion that is install sarge and i did
and it works perfectly... i've been able to install kernel 2.6 by the
linux26 command.

thnx a lot for your info
Good to hear you got it going the new installer is great it was well worth the wait.
 
Old 12-22-2005, 09:23 AM   #11
maki
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by yussef
I have just install Debian and I want to install the 2.6 kernel
However when I type the ' make menuconfig' command here is what i get:
Code:
make: *** No rule to make target 'menuconfig'. Stop
I'm a beginner to linux can you tell me what to do
Thanx
I'm getting the same problem only i'm running gentoo version 2.6.14
it started because i was trying to mount a usb device (that has worked before) but now when i try mount /mnt/usb i get:

Code:
 mount: unknown filesystem type 'vfat'
so in a search for trying to solve that i found something that suggested i could fix it in menuconfig only now that doesn't work either.
hmmmmmmm
if anyone can help it would be great
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make: *** No rule to make target `menuconfig' Ezzy Linux - Newbie 3 04-21-2005 09:21 AM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 12:13 PM
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 08:41 PM
make: **** No rule to make target 'bzImage' qingjuan Linux - General 5 04-02-2002 04:04 PM


All times are GMT -5. The time now is 07:55 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