[Pvfs2-users] configure: error: The kernel source tree must have
been configured.
Amit H Kumar
AHKumar at odu.edu
Tue Mar 11 15:38:29 EST 2008
Phil Carns <pcarns at gmail.com> wrote on 03/11/2008 04:15:04 PM:
> I don't think that 'make menuconfig' is necessary for a standard redhat
> kernel.
>
> What is the output of these three commands on your system?
>
> uname -r
> rpm -q kernel-smp-devel
> rpm -q kernel-smp
>
> The first command tells you the version number of the kernel that you
> are running. That same version number needs to show up in the output of
> the other two commands (to show that you have a matched set of
> development headers installed).
>
> Once those look right, you should be able to use
> --with-kernel=/lib/modules/`uname -r`/build for your configure argument.
>
Hi Phil,
What does the "build" in "--with-kernel=/lib/modules/`uname -r`/build"
should be substituted with: Becasue I don't have a "build" directory or
file as such, nor even does the kernel directory under that path has any
'build directory' or 'linux-2.6' directory ...
Can you please throw some more insight!! below is the info asked.
Thank you,
«Amit»
# uname -r
2.6.9-42.0.2.ELsmp
# rpm -q kernel-smp-devel
kernel-smp-devel-2.6.9-42.0.10.EL
# rpm -q kernel-smp
kernel-smp-2.6.9-42.0.2.EL
kernel-smp-2.6.9-42.0.10.EL
ls -l /lib/modules/`uname -r`/
total 640
drwxr-xr-x 9 root root 4096 Mar 8 2007 kernel
-rw-r--r-- 1 root root 119161 Feb 27 09:38 modules.alias
-rw-r--r-- 1 root root 69 Feb 27 09:38 modules.ccwmap
-rw-r--r-- 1 root root 144800 Feb 27 09:38 modules.dep
-rw-r--r-- 1 root root 73 Feb 27 09:38 modules.ieee1394map
-rw-r--r-- 1 root root 357 Feb 27 09:38 modules.inputmap
-rw-r--r-- 1 root root 235 Feb 27 09:38 modules.isapnpmap
-rw-r--r-- 1 root root 114122 Feb 27 09:38 modules.pcimap
-rw-r--r-- 1 root root 67974 Feb 27 09:38 modules.symbols
-rw-r--r-- 1 root root 155849 Feb 27 09:38 modules.usbmap
More information about the Pvfs2-users
mailing list