View previous topic :: View next topic |
Author |
Message |
bargeral n00b
Joined: 09 May 2003 Posts: 23
|
Posted: Thu Aug 21, 2003 6:46 pm Post subject: Unable to "make menuconfig" |
|
|
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 |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Thu Aug 21, 2003 7:33 pm Post subject: Re: Unable to "make menuconfig" |
|
|
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 |
|
|
wormstrangler n00b
Joined: 21 Aug 2003 Posts: 12
|
Posted: Fri Aug 22, 2003 1:45 am Post subject: |
|
|
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 |
|
|
|