Error in RHL 6.2

Bob McClure Jr robertmcclure at earthlink.net
Thu Aug 18 16:00:52 UTC 2005


On Thu, Aug 18, 2005 at 05:07:51AM -0000, srinivas  m wrote:
> Hi All,
> I am working with RHL6.2, Suddenly I came accross following error.
> root at localhost driver]#./configure
> loading cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc) works... yes
> checking whether the C compiler (gcc) is a
> cross-compiler... no
> checking whether we are using GNC C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for
> /lib/modules/2.2.14-5.0/build/include/linux/init.h...no
> configure: error: cannot find kernel headers, please install then to /lib/modules/2/2/14-5.0/build or set KERNEL_RELEASE to their version and/or KERNEL_HEADERS
> to their location.
> 
> When I tried to install kernel-headers, following msg is displayed.
> [root at localhost RPMS]#rpm -ivh kernel-headers-2-2.14-5.0.i386.rpm
> package kernel-headers-2.2.14-5.0 is already installed
> 
> There is no build directory at /lib/modules/2/2/14-5.0/, which is supposed to be, I Guess...
> 
> Plz get me out of this issue...
> 
> Thanks,
> Ceenu

Do you have the kernel-source RPM installed?

Must you use such an ancient distribution?  It's rather insecure.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure at earthlink.net  http://www.bobcatos.com
God doesn't have (or need) a Plan B.




More information about the Redhat-install-list mailing list