Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49035 - sys-libs/glibc-2.3.3_pre20040420 failed to find a kernel source tree or headers with version 2.6.0 or later
Summary: sys-libs/glibc-2.3.3_pre20040420 failed to find a kernel source tree or heade...
Status: RESOLVED DUPLICATE of bug 47972
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 07:47 UTC by Cletus Lichte
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cletus Lichte 2004-04-26 07:47:59 UTC
I get the following error:

Calculating dependencies ...done!
>>> emerge (1 of 2) sys-libs/glibc-2.3.3_pre20040420 to /
>>> md5 src_uri ;-) glibc-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-linuxthreads-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-2.3.3-branch-update-20040420.patch.bz2

 * Checking for sufficient version kernel headers ... no

 * Could not find a kernel source tree or headers with
 * version 2.6.0 or later!  Please correct this
 * and try again.

!!! ERROR: sys-libs/glibc-2.3.3_pre20040420 failed.
!!! Function pkg_setup, Line 189, Exitcode 0
!!! Insufficient kernel headers present!


Here is the output of ls -la /usr/src:

total 12
drwxr-xr-x   3 root root 4096 Apr 25 22:24 ./
drwxr-xr-x  16 root root 4096 Apr 25 22:17 ../
-rw-r--r--   1 root root    0 Apr 25 22:17 .keep
lrwxr-xr-x   1 root root   30 Apr 25 22:24 linux-> /usr/src/linux-2.6.5-gentoo-r1/
drwxr-xr-x  18 root root 4096 Apr 26 09:07 linux-2.6.5-gentoo-r1/


emerge info:
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d aalib acl acpi acpi4linux activefilter alsa amd antlr apache2 arts artswrappersuid atlas autofs avi bcel berkdb bsf bsh cap crypt cscope cups curl dga directfb dnd doc dv emacs encode ethereal faad fam fbcon fbdev ffmpeg flac flash fltk fluidsynth foomaticdb gcj gd gdbm ggi gif gpm gstreamer gtk gtk2 gtkhtml i8x0 imagemagick imap imlib imlib2 innodb java javamail javascript jdepend jpeg js junit kde ladcca lcms leim libwww mad mbox mcal md5sum mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mpi msn music mysql ncurses nls nptl oggvorbis opengl openssh oro oss pam parse-clocks pcap pda pdflib perl php plotutils png ppds python qt quicktime readline regexp ruby ruby18 samba sasl sdl skey slang slp snmp sox spell sqlite sse ssl tcltk tcpd tetex tiff truetype unicode usb videos vim-with-x wmf wxwindows x86 xml xml2 xmms xosd xv xvid yahoo zlib"
Comment 1 Andrew Bevitt 2004-04-30 08:51:28 UTC
version.h is only generated when you build the sources, I can see its the kernel version you're running but have you actually checked for the existance of /usr/src/linux/include/linux/version.h ? 
Comment 2 SpanKY gentoo-dev 2004-05-01 23:52:58 UTC

*** This bug has been marked as a duplicate of 47972 ***