Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can no longer do a 'make menuconfig'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Fri Apr 11, 2008 3:53 pm    Post subject: Can no longer do a 'make menuconfig' Reply with quote

hey, i updated my gentoo system. but now i can't do a make menuconfig. i get a:

"
Code:
localhost linux # pwd
/usr/src/linux
localhost linux # make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.
localhost linux #
"

can anyone help?
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Fri Apr 11, 2008 3:56 pm    Post subject: Reply with quote

Do you still have the Makefile inside your directory?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Fri Apr 11, 2008 3:57 pm    Post subject: Reply with quote

dman777,

Thats odd. What does
Code:
ls -l /usr/src
show ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Fri Apr 11, 2008 4:14 pm    Post subject: Reply with quote

yes, i still have Makefile.

Code:
localhost src # pwd
/usr/src
localhost src # ls -al
total 20
drwxr-xr-x  5 root root 4096 Apr 11 11:08 .
drwxr-xr-x 15 root root 4096 Mar  6 10:22 ..
-rw-r--r--  1 root root    0 Apr 19  2007 .keep
drwxr-xr-x  2 root root 4096 Mar 19 18:32 alsa
lrwxrwxrwx  1 root root   22 Apr 11 11:08 linux -> linux-2.6.24-gentoo-r4
drwxr-xr-x 19 root root 4096 Apr  9 06:18 linux-2.6.23-gentoo-r9
drwxr-xr-x 20 root root 4096 Apr  9 06:12 linux-2.6.24-gentoo-r4
localhost src #


I don't know that helps though because I just did a USE="symlink" emerge -v gentoo-sources.
It didn't fix the problem but that what it looked like before.

Before hand I tried to install virtualbox and I got this error:

Code:
"localhost src # cat /./var/tmp/portage/app-emulation/virtualbox-modules-1.5.4/temp/build.log
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 *
 * ERROR: app-emulation/virtualbox-modules-1.5.4 failed.
 * Call stack:
 *                         ebuild.sh, line   49:  Called pkg_setup
 *   virtualbox-modules-1.5.4.ebuild, line   26:  Called linux-mod_pkg_setup
 *                  linux-mod.eclass, line  469:  Called linux-info_pkg_setup
 *                 linux-info.eclass, line  595:  Called die
 * The specific snippet of code:
 *      get_version || die "Unable to calculate Linux Kernel version"
 *  The die message:
 *   Unable to calculate Linux Kernel version
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-1.5.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-1.5.4/temp/die.env'.
 *
localhost src #


Does this help any?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Fri Apr 11, 2008 4:20 pm    Post subject: Reply with quote

dman777,

So far so good. What does
Code:
ls -al /usr/src/linux
show?

The error message may be misleading. Your
Code:
 USE="symlink" emerge -v gentoo-sources
will have put a clean unconfigured kernel into /usr/src/linux and virtualbox-modules will be looking for the .config file to pick up some option settings like SMP, 4KSTACKS which it will use for itself and to generate the version magic.

You need to remake your kernel as if your new .config file does not match the running kernel, virtualbox-modules will not load.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Fri Apr 11, 2008 4:23 pm    Post subject: Reply with quote

ya, but at this point i just wanna get my make menuconfig working because i'm scared to death i will have to rebuild my system from scratch. I'm really getting scared.

I did the virtualbox before i emerged the gentoo-sources. These are the steps I took before this happened:

1)unemerge awn and xfce4.
2)updated system deep.
cleaned out dependencies
3)installed virtualbox unsuccessfully.
4)couldn't do a make menuconfig
5)emerge gentoo-sources -no luck
6)revdep-rebuild- no success

Quote:
localhost src # ls -al /usr/src/linux
lrwxrwxrwx 1 root root 22 Apr 11 11:08 /usr/src/linux -> linux-2.6.24-gentoo-r4
localhost src #
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Fri Apr 11, 2008 4:43 pm    Post subject: Reply with quote

ughh!!!! I got it. I accidentally make a share directory in root and that threw off my system. fudge!!!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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