View previous topic :: View next topic |
Author |
Message |
Raoul Tux's lil' helper
Joined: 30 Jul 2006 Posts: 108 Location: Adelaide, Aust.
|
Posted: Sun Feb 03, 2008 1:53 am Post subject: [SOLVED] Emerge gnome-menus fails - Linux sources |
|
|
Hi There,
I have just tried to update world which normally works very well. Except today I ran into this problem. I think I have a tiny clue how to fix it, but rather than stuff it up, can I please have some help?
Code: | * 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: gnome-base/gnome-menus-2.20.3 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* gnome-menus-2.20.3.ebuild, line 30: 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/gnome-base/gnome-menus-2.20.3/temp/build.log'.
*
|
Regards
Raoul
Last edited by Raoul on Mon Feb 04, 2008 11:47 am; edited 1 time in total |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Sun Feb 03, 2008 3:12 am Post subject: |
|
|
make sure you have installed the kernel sources (gentoo-sources) and there's a link to them within the /usr/src directory the link should be named /usr/src/linux _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
Raoul Tux's lil' helper
Joined: 30 Jul 2006 Posts: 108 Location: Adelaide, Aust.
|
Posted: Mon Feb 04, 2008 11:46 am Post subject: Emerge gnome-menus fails - Linux sources |
|
|
Hi Loftwyr,
Thanks for that. I updated my symlink to point to already installed gentoo-sources. I guess I was unsure whether I had to recompile kernel if I did this.
Regards
Raoul |
|
Back to top |
|
|
nOps34 Tux's lil' helper
Joined: 16 Dec 2006 Posts: 105 Location: France - Montpellier
|
Posted: Sat Feb 09, 2008 8:37 pm Post subject: |
|
|
I had the same problem, try to re emerge your kernel, it worked for me |
|
Back to top |
|
|
|