Install kernel headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

I simple question: How do you install kernel headers?

Is the following:

# cd /usr/src
# wget www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.7.tar.gz
# tar zxf linux-2.6.15.7.tar.gz
# ln -s linux-2.6.15.7 linux

not enough?

Because I'm trying to configure and compile PERL, but I get

# make
`sh  cflags "optimize='-O1'" miniperlmain.o`  miniperlmain.c
          CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1  -Wall
In file included from //usr/include/asm/param.h:4,
                 from //usr/include/linux/param.h:4,
                 from //usr/local/include/sys/param.h:24,
                 from perl.h:486,
                 from miniperlmain.c:36:
//usr/include/linux/config.h:6:28: linux/autoconf.h: No such file or directory

Is autoconf part of the GNU autoconf utility or it must be part of the linux kernel headers?


Regards,
Konstantin Boyanov

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux