Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux 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.

    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 added symlink to my /etc/make.conf before the above step, but as you see I still get the No rule message.



    Code:
     ls -l /usr/src/linux
    lrwxrwxrwx 1 root root 18 Dec 25 08:16 /usr/src/linux -> linux-3.0.6-gentoo
    frank ~ #
    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.

    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.

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    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 ...
    Code:
    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
    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 below
    Code:
    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
    Which I can manually remove if I want to

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    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.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •