Results 1 to 3 of 3
I ran into this problem before, and easily solved it. I don't remember doing --depclean recently, but have done several -avuDN world updates. I tried.
Code:
Calculating dependencies... done!
[ebuild ...
- 01-11-2012 #1Linux Newbie
- Join Date
- Aug 2009
- Posts
- 156
make: *** No rule to make target `menuconfig'. Stop.
I ran into this problem before, and easily solved it. I don't remember doing --depclean recently, but have done several -avuDN world updates. I tried.
I added symlink to my /etc/make.conf before the above step, but as you see I still get the No rule message.Code:Calculating dependencies... done! [ebuild N ] sys-kernel/gentoo-sources-3.0.6 USE="symlink -build -deblob" frank ~ # make menuconfig make: *** No rule to make target `menuconfig'. Stop.
I notice the Dec 25th date. I am not sure what I am doing wrong, since I just emerged sys-kernel today, jan 11th. Other thread/websearch solutions do not seem to work for me this time around.Code:ls -l /usr/src/linux lrwxrwxrwx 1 root root 18 Dec 25 08:16 /usr/src/linux -> linux-3.0.6-gentoo frank ~ #
Solved, with emerge =gentoo-sources-3.0.6 I think I am still confusing the kernel and gentoo-sources. I am still not sure what the best or a way to prevent my gentoo sources from being deleted by an update. Do I enter =gentoo-sources-3.0.6 in /etc/portage/package.use ?Last edited by frank56; 01-12-2012 at 05:03 AM.
- 01-15-2012 #2
if you are emerging a later version of gentoo-sources by doing a world update eg emerge -avuDN world then the new kernel sources will be installed to /usr/src/ and the symlink /usr/src/linux will be updated to point to the latest kernel.
The previous versions of the kernel will still be there until you remove them ... try ls /usr/src -l
The symlink is update because you have the symlink use flag - you can change this but then you need to remember to update the symlink manually
Ed: example output below ...
Even though I have done a few emerge --depcleans the folders still exist because they contain .config file - gentoo-2.6.30-r5 ls -la output for example belowCode:total 13 lrwxrwxrwx 1 root root 18 Jan 14 00:03 linux -> linux-3.2.1-gentoo drwxr-xr-x 2 root root 72 Nov 21 2010 linux-2.6.30-gentoo-r5 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.30-gentoo-r6 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.31-gentoo drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.31-gentoo-r1 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.31-gentoo-r2 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.31-gentoo-r3 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.31-gentoo-r5 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.31-gentoo-r6 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.32-gentoo drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.32-gentoo-r3 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.32-gentoo-r5 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.32-gentoo-r6 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.33-gentoo drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.33-gentoo-r1 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.33-gentoo-r2 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.34-gentoo drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.34-gentoo-r1 drwxr-xr-x 20 jonathan root 1416 Jan 3 2011 linux-2.6.34-gentoo-r12 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.34-gentoo-r2 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.34-gentoo-r6 drwxr-xr-x 2 jonathan root 72 Nov 21 2010 linux-2.6.35-gentoo drwxr-xr-x 20 jonathan root 1416 Jan 3 2011 linux-2.6.35-gentoo-r12 drwxr-xr-x 20 jonathan root 1416 Jun 12 2011 linux-2.6.36-gentoo-r5 drwxr-xr-x 20 jonathan root 1416 Jun 12 2011 linux-2.6.36-gentoo-r8 drwxr-xr-x 20 jonathan root 1416 Jun 12 2011 linux-2.6.37-gentoo-r4 drwxr-xr-x 20 jonathan root 1416 Sep 30 21:24 linux-2.6.38-gentoo-r6 drwxr-xr-x 20 jonathan root 1416 Nov 10 22:15 linux-2.6.39-gentoo-r3 drwxr-xr-x 20 jonathan root 1240 Jan 2 21:33 linux-3.0.6-gentoo drwxr-xr-x 20 jonathan root 1240 Jan 2 21:32 linux-3.1.4-gentoo drwxr-xr-x 20 jonathan root 1240 Jan 2 21:31 linux-3.1.5-gentoo drwxr-xr-x 24 jonathan root 1608 Jan 2 17:29 linux-3.1.6-gentoo drwxr-xr-x 24 jonathan root 1608 Jan 14 01:04 linux-3.2.1-gentoo
Which I can manually remove if I want toCode:total 53 drwxr-xr-x 2 root root 72 Nov 21 2010 . drwxr-xr-x 34 root root 1456 Jan 14 00:03 .. -rw-r--r-- 1 root root 52374 Aug 29 2009 .config
- 01-15-2012 #3
To keep portage or depclean from removing packages that you want to keep, including kernels, use this command to add the package to your world set
Code:emerge --noreplace (packagename)
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.



