Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27067 - svgalib-1.9.17-r3 compile failure due to lack of /usr/src/linux symlink.
Summary: svgalib-1.9.17-r3 compile failure due to lack of /usr/src/linux symlink.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 27083 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-21 11:29 UTC by Alexander Winston
Modified: 2003-08-21 16:14 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 Alexander Winston 2003-08-21 11:29:13 UTC
svgalib shouldn
Comment 1 Alexander Winston 2003-08-21 11:29:13 UTC
svgalib shouldnt be looking in /usr/src/* for Linux kernel versions.

Reproducible: Always
Steps to Reproduce:
1. emerge -vuD svgalib

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/svgalib-1.9.17-r3 to /
>>> md5 src_uri ;-) svgalib-1.9.17.tar.gz
 * 
 * Could not determine your kernel version.
 * Make sure that you have /usr/src/linux symlink.
 * And that said kernel has been configured.
 * You can also simply run the following command
 * in the kernel referenced by /usr/src/linux:
 *  make include/linux/version.h
 * 

!!! ERROR: media-libs/svgalib-1.9.17-r3 failed.
!!! Function check_KV, Line 216, Exitcode 0
!!! (no error message)

Expected Results:  
Installed as normal.

Portage 2.0.49_pre18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21)
=================================================================
System uname: 2.4.21 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
GENTOO_MIRRORS="http://gentoo.noved.org/ ftp://gentoo.noved.org/ ftp://ftp.ussg.
iu.edu/pub/linux/gentoo ftp://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech
.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb imlib jpeg libg++ l
ibwww mad mikmod mmx motif mpeg ncurses nls pdflib png qt quicktime sdl spell tr
uetype xml2 xmms xv zlib slang readline svga tcpd pam ssl python oggvorbis openg
l X alsa -berkdb debug doc -gdbm -gif -gnome -gpm -gtk gtk2 ipv6 -java -kde mbox
 -perl sse xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=pentium4 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loop
s -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 SpanKY gentoo-dev 2003-08-21 12:51:43 UTC
where would you have it look ? 
afaik linux-headers is not sufficient ... 
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-21 13:34:25 UTC
The Gentoo way is that packages should use the sources in /usr/src/linux, as it
is much more flexible (you can compile nvidia-kernel/whatever while still on
old kernel).  If anything, file a bug with the docs people if you are 100%
sure it is not in the documentation.
Comment 4 Alexander Winston 2003-08-21 14:06:00 UTC
The Linux kernel version is available in /usr/include/linux/version.h
Comment 5 SpanKY gentoo-dev 2003-08-21 16:10:37 UTC
read azarah's comment again and you will see why this wont be 'fixed' 
Comment 6 SpanKY gentoo-dev 2003-08-21 16:14:56 UTC
*** Bug 27083 has been marked as a duplicate of this bug. ***