Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to "make 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
bargeral
n00b
n00b


Joined: 09 May 2003
Posts: 23

PostPosted: Thu Aug 21, 2003 6:46 pm    Post subject: Unable to "make menuconfig" Reply with quote

when I make menuconfig I get "make: *** No rule to make target `menuconfig'. Stop."

I tried some things with the help of Madtinkerer in a chat (thanks! Madtinkerer) but still no go.
Code:

bash-2.05b$ su
Password:
bash-2.05b# cd /
bash-2.05b# rm -rf /usr/src/linux
bash-2.05b#  mkdir /usr/src/linux
bash-2.05b#  chmod 755 /usr/src/linux
bash-2.05b# ln -sf /usr/src/linux-2.4.20-gentoo-r6 /usr/src/linux
bash-2.05b# pwd
/
bash-2.05b# cd /usr/src/linux
bash-2.05b# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.
bash-2.05b# cd /usr/src/linux
bash-2.05b# ls -l
total 0
lrwxrwxrwx    1 root     root           31 Aug 21 13:26 linux-2.4.20-gentoo-r6 -> /usr/src/linux-2.4.20-gentoo-r6
bash-2.05b# ls /usr/src
linux                   linux-2.4.20-gaming-r3  pc
linux-2.4.19-gentoo-r5  linux-2.4.20-gentoo-r6
bash-2.05b# ln -sf /usr/src/linux-2.4.20-gaming-r3 /usr/src/linux
bash-2.05b# pwd
/usr/src/linux
bash-2.05b# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.
bash-2.05b# ln -sf /usr/src/linux-2.4.19-gentoo-r5 /usr/src/linux
bash-2.05b# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.
bash-2.05b#
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Thu Aug 21, 2003 7:33 pm    Post subject: Re: Unable to "make menuconfig" Reply with quote

bargeral wrote:
Code:
bash-2.05b#  mkdir /usr/src/linux

I think this is your problem. Do
Code:
cd /usr/src
rm -r(f) linux
ln -s linux-<your desired kernel> linux
cd linux
make menuconfig

and start configure to your heart's desire. /usr/src/linux should be the link to your kernel sources, not contain the link.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
wormstrangler
n00b
n00b


Joined: 21 Aug 2003
Posts: 12

PostPosted: Fri Aug 22, 2003 1:45 am    Post subject: Reply with quote

Try:

Code:
emerge unmerge gentoo-sources
rm /usr/src/linux
rm -r /usr/src/linux-2.4.20-gentoo-r6
emerge -k gentoo-sources
cd /usr/src/linux
make menucofnig


Should work now. Also, if you have any other kernel sources in /usr/src/, I usually unmerge them to keep it clean.
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