Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] make: no rules to make target "menuconfig"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Anginsan
n00b
n00b


Joined: 04 Nov 2012
Posts: 12

PostPosted: Sun Nov 04, 2012 11:03 pm    Post subject: [SOLVED] make: no rules to make target "menuconfig" Reply with quote

Hello People,

I´m a newbie and my English is not very good. Tried to install gentoo into my Virtualbox. I followed the steps from the Handbook till "make menuconfig". The answer was: make: no rule to make target " menuconfig" Stop. In folder usr/src/ there is linux and linux-3.5.7-gentoo. In folder linux there is linux-3.5.7-gentoo in white letters on red ground. My promptname is (chroot) livecd. It´s the first time i tried to install gentoo. Till now i´ve used Ubuntu in Dualboot with Windows Vista. My PC crashed and the technician reinstalled Windows so Ubuntu isn´t there anymore. That why i tried the way with VirtualBox.

Thank you very much
_________________
...wer, wie, was...wieso, weshalb, warum...wer nicht fragt bleibt dumm...
...più uno impara, più sà che non sà niente...
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7810
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Nov 04, 2012 11:09 pm    Post subject: Reply with quote

Most likely this is simple. Just be sure that the /usr/src/linux symlink points to your emerged kernel source, like this
Code:
# ls -ld /usr/src/linux
lrwxrwxrwx 1 root root 18 Oct 30 07:41 /usr/src/linux -> linux-3.5.7-gentoo
(your may be a different kernel version), and make sure you're actually in that directory before you run "make menuconfig", like so
Code:
cd /usr/src/linux
make menuconfig
You should be fine.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
Anginsan
n00b
n00b


Joined: 04 Nov 2012
Posts: 12

PostPosted: Sun Nov 04, 2012 11:19 pm    Post subject: Reply with quote

Thank you John,

i will follow your instructions, then i will report to you. My little son woked up crying. He lays on my arms, when he sleeps again, i will start.

Thank you very much
_________________
...wer, wie, was...wieso, weshalb, warum...wer nicht fragt bleibt dumm...
...più uno impara, più sà che non sà niente...
Back to top
View user's profile Send private message
Anginsan
n00b
n00b


Joined: 04 Nov 2012
Posts: 12

PostPosted: Sun Nov 04, 2012 11:24 pm    Post subject: Reply with quote

O.K. John,

ls -ld usr/src/linux hasn´t symlink.

How can i make it?

Thank you
_________________
...wer, wie, was...wieso, weshalb, warum...wer nicht fragt bleibt dumm...
...più uno impara, più sà che non sà niente...
Back to top
View user's profile Send private message
Anginsan
n00b
n00b


Joined: 04 Nov 2012
Posts: 12

PostPosted: Sun Nov 04, 2012 11:32 pm    Post subject: Reply with quote

Hello John,

ls -l usr/src/linux There is a symlik: linux-3.5.7-gentoo -> linux-3.5.7-gentoo
_________________
...wer, wie, was...wieso, weshalb, warum...wer nicht fragt bleibt dumm...
...più uno impara, più sà che non sà niente...
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4122
Location: Houston, Republic of Texas

PostPosted: Mon Nov 05, 2012 12:02 am    Post subject: Reply with quote

Anginsan wrote:
O.K. John,

ls -ld usr/src/linux hasn´t symlink.

How can i make it?

Thank you


typically using eselect, e.g.

Code:

# eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.6.1-gentoo
  [2]   linux-3.6.2-gentoo
  [3]   linux-3.6.5-gentoo
# eselect kernel set 3
hplaptop ~ # eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.6.1-gentoo
  [2]   linux-3.6.2-gentoo
  [3]   linux-3.6.5-gentoo *


if you are not doing 'make menuconfig' from within the kernel sources directory, you will get the "no rule to make target: menuconfig" (or, more generally, doing 'make' without a Makefile will give you similar errors)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Anginsan
n00b
n00b


Joined: 04 Nov 2012
Posts: 12

PostPosted: Mon Nov 05, 2012 12:08 am    Post subject: Reply with quote

Thank you cach0rr0,

for your help. I will try tomorrow, because i´ve got to wake up early. I will report you.

Thanks
_________________
...wer, wie, was...wieso, weshalb, warum...wer nicht fragt bleibt dumm...
...più uno impara, più sà che non sà niente...
Back to top
View user's profile Send private message
Anginsan
n00b
n00b


Joined: 04 Nov 2012
Posts: 12

PostPosted: Wed Nov 07, 2012 9:18 pm    Post subject: Everything is fine Reply with quote

Thanks to you, John and cach0rr0!

I followed your instructions, now it´s fine. Thanks again
_________________
...wer, wie, was...wieso, weshalb, warum...wer nicht fragt bleibt dumm...
...più uno impara, più sà che non sà niente...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum