Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Emerge gnome-menus fails - Linux sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sun Feb 03, 2008 1:53 am    Post subject: [SOLVED] Emerge gnome-menus fails - Linux sources Reply with quote

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
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Sun Feb 03, 2008 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Mon Feb 04, 2008 11:46 am    Post subject: Emerge gnome-menus fails - Linux sources Reply with quote

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
View user's profile Send private message
nOps34
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2006
Posts: 105
Location: France - Montpellier

PostPosted: Sat Feb 09, 2008 8:37 pm    Post subject: Reply with quote

I had the same problem, try to re emerge your kernel, it worked for me
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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