From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ENNh6-0005TN-KH for garchives@archives.gentoo.org; Thu, 06 Oct 2005 04:49:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j964e6Gx022415; Thu, 6 Oct 2005 04:40:06 GMT Received: from dir.bg (mail.dir.bg [194.145.63.28]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j964aWoZ022427 for ; Thu, 6 Oct 2005 04:36:33 GMT Received: from [217.30.222.4] (account rumen_yotov HELO mach.qrypto.org) by dir.bg (CommuniGate Pro SMTP 4.2.8) with ESMTP-TLS id 19351372 for gentoo-user@lists.gentoo.org; Thu, 06 Oct 2005 07:45:06 +0300 Date: Thu, 6 Oct 2005 07:50:27 +0300 From: Rumen Yotov To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread] Message-ID: <20051006075027.31154bc6@mach.qrypto.org> In-Reply-To: <200510061717.59427.bogo-mipps@e3.net.nz> References: <200510061717.59427.bogo-mipps@e3.net.nz> Organization: home X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.8; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Thu__6_Oct_2005_07_50_27_+0300_EF_GhryKIoHjC1ss; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 93584c7d-6945-48d5-a16f-b4cdb2315510 X-Archives-Hash: bada98ff20f1bb4783f1a8887f08497e --Signature_Thu__6_Oct_2005_07_50_27_+0300_EF_GhryKIoHjC1ss Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 6 Oct 2005 17:17:59 +1300 Bogo Mipps wrote: > Hi - have re-compiled as indicated, but it hasn't helped. Now > running 2.6.12-gentoo-r10 without problems, but still have the > previous error on *some* ebuilds i.e. svgalib & lm_sensors. =20 >=20 > As established earlier correct links are all in place, the > correct .config is in the source, directory, as is Makefile - > and /include/linux/verion.h exists.=20 >=20 > I have googled extensively, including gentoo forums, where similar > errors have been produced, but nothing suggested solved my problem. > Most were related to non-existent .config and/or Makefile. =20 >=20 > Following is the error message: > > !!! ERROR: media-libs/svgalib-1.9.21-r1 failed. > !!! Function linux-info_pkg_setup, Line 526, Exitcode 1 > !!! Unable to calculate Linux Kernel version > >=20 > When I look at Line 526 in /usr/portage/eclass/linux-info.eclass I > find the following: >=20 > > 525 linux-info_pkg_setup() { > 526 get_version || die "Unable to calculate Linux Kernel version" > 527 [ -n "${CONFIG_CHECK}" ] && check_extra_config; > >=20 > >From here on in - I'm struggling with bash and can't make sense of > >it: any=20 > pointers would be appreciated.=20 >=20 > Bogo >=20 >=20 Hi, Check to make sure that "/usr/src/linux" link point to your current/working kernel. svgalib depends on kernel link to build. HTH.Rumen --Signature_Thu__6_Oct_2005_07_50_27_+0300_EF_GhryKIoHjC1ss Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) iD8DBQFDRK0Tw4vKYiLy/AsRAv8UAJwKhV40BM8DzRXn5DweNDQLvuqpqwCaA/Ro omd00zmwiMl7C8zFqdNkJdQ= =Z4Ie -----END PGP SIGNATURE----- --Signature_Thu__6_Oct_2005_07_50_27_+0300_EF_GhryKIoHjC1ss-- -- gentoo-user@gentoo.org mailing list