View previous topic :: View next topic |
Author |
Message |
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Fri Apr 11, 2008 3:53 pm Post subject: Can no longer do a 'make menuconfig' |
|
|
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 |
|
|
kds66 Apprentice
Joined: 17 Oct 2006 Posts: 166 Location: Manaus, Brazil
|
Posted: Fri Apr 11, 2008 3:56 pm Post subject: |
|
|
Do you still have the Makefile inside your directory? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Fri Apr 11, 2008 3:57 pm Post subject: |
|
|
dman777,
Thats odd. What does 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 |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Fri Apr 11, 2008 4:14 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Fri Apr 11, 2008 4:20 pm Post subject: |
|
|
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 |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Fri Apr 11, 2008 4:23 pm Post subject: |
|
|
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 |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Fri Apr 11, 2008 4:43 pm Post subject: |
|
|
ughh!!!! I got it. I accidentally make a share directory in root and that threw off my system. fudge!!!!!! |
|
Back to top |
|
|
|