Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-kernel
Navigation:
Lists: gentoo-kernel: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-kernel@g.o
From: Sam Ravnborg <sam@...>
Subject: Re: linux-mod / linux-info changes
Date: Sat, 4 Dec 2004 23:51:28 +0100
On Sat, Dec 04, 2004 at 11:54:28PM +0000, Daniel Drake wrote:
> +		einfo "This package requires Linux sources."
> +		if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then
> +			einfo "Please make sure that ${KERNEL_DIR} points at your running kernel, "
> +			einfo "(or the kernel you wish to build against)."
> +			einfo "Alternatively, set the KERNEL_DIR environment variable to the kernel sources location"
> +		else
> +			einfo "Please ensure that the KERNEL_DIR environment variable points at full Linux sources of the kernel you wish to compile against."
> +		fi
> +		die "Cannot locate Linux sources at ${KERNEL_DIR}"

Why not use /lib/modules/`uname -r`/source - it works for 2.6 at least.
It could be your first try - second /usr/src/linux/...

	Sam

--
gentoo-kernel@g.o mailing list

Replies:
Re: linux-mod / linux-info changes
-- John Mylchreest
References:
linux-mod / linux-info changes
-- Daniel Drake
Navigation:
Lists: gentoo-kernel: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: linux-mod / linux-info changes
Next by thread:
Re: linux-mod / linux-info changes
Previous by date:
Re: linux-mod / linux-info changes
Next by date:
Re: linux-mod / linux-info changes


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.