[Pvfs2-users] configure: error: The kernel source tree must have
been configured.
Phil Carns
carns at mcs.anl.gov
Tue Mar 11 15:15:04 EST 2008
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.
-Phil
Sumit Narayan wrote:
> Hi Amit,
>
> Did you try 'make menuconfig' inside the kernel source tree?
>
> --Sumit
>
> On Tue, Mar 11, 2008 at 3:10 PM, Amit H Kumar <AHKumar at odu.edu
> <mailto:AHKumar at odu.edu>> wrote:
>
> pvfs2-users-bounces at beowulf-underground.org
> <mailto:pvfs2-users-bounces at beowulf-underground.org> wrote on
> 03/11/2008 11:09:06
> AM:
>
> > You need to install the kernel-smp-devel RPM. That should do the
> > trick. We have some build issues with RHEL 4, though so you might
> > need to apply this patch:
> >
> >
> http://www.pvfs.org/fisheye/changelog/PVFS?cs=MAIN:pcarns:20080227143031
> >
> > Also, since you're installing RPMS, note that redhat's posted a
> > security update to this kernel. Depending on your situation you
> > might want to install that before building the pvfs kernel module.
> >
> Hi Rob,
>
> I applied the patch you pointed me to:
> http://www.pvfs.org/fisheye/rdiff/PVFS?csid=MAIN:pcarns:20080227143031&u&N
> <http://www.pvfs.org/fisheye/rdiff/PVFS?csid=MAIN:pcarns:20080227143031&u&N>
>
> And the system that I am working on already has kernel-smp-devel
> installed.
> Info is as shown below:
>
> ###############
> # rpm -qi kernel-smp-devel
> Name : kernel-smp-devel Relocations: (not
> relocatable)
> Version : 2.6.9 Vendor: CentOS
> Release : 42.0.10.EL Build Date: Tue 27 Feb 2007
> 11:50:11 AM EST
> Install Date: Tue 24 Apr 2007 01:25:57 PM EDT Build Host:
> builder7.centos.org <http://builder7.centos.org>
> Group : System Environment/Kernel Source RPM:
> kernel-2.6.9-42.0.10.EL.src.rpm
> Size : 11982322 License: GPLv2
> Signature : DSA/SHA1, Tue 27 Feb 2007 04:40:09 PM EST, Key ID
> a53d0bab443e1821
> Summary : Development package for building kernel modules to
> match the
> SMP kernel.
> Description :
> This package provides kernel headers and makefiles sufficient to build
> modules
> against the SMP kernel package.
> ###############
>
> Do I need to upgrade kernel-smp-devel ?
>
> Seems like I must be doing something silly, any thoughts?
>
> Thank you,
> «Amit»
>
>
>
>
>
> _______________________________________________
> Pvfs2-users mailing list
> Pvfs2-users at beowulf-underground.org
> <mailto:Pvfs2-users at beowulf-underground.org>
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pvfs2-users mailing list
> Pvfs2-users at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
More information about the Pvfs2-users
mailing list