[Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6
Elaine Quarles
elaine at omnibond.com
Thu Feb 2 10:28:12 EST 2012
Sorry, I did not see the answer from Vlad until after replying. Glad he was
able to help you!
Thanks,
Elaine
From: Elaine Quarles [mailto:elaine at omnibond.com]
Sent: Thursday, February 02, 2012 10:24 AM
To: 'g_p g_p'; 'pvfs2'
Subject: RE: [Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6
It looks like you are using a vanilla kernel that does not yet have all the
.h files in place that OrangeFS needs. If that is the case, these commands
should work.
cd /lib/modules/`uname -r`/source
make oldconfig
Then build OrangeFS using --with-linux=/lib/modules/`uname -r`/source
-- Elaine
From: g_p g_p [mailto:g_p_java at hotmail.com]
Sent: Wednesday, February 01, 2012 4:32 PM
To: elaine at omnibond.com; pvfs2
Subject: RE: [Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6
Hello and thanks for replying,
i tried that but i still get that error
[pvfs-2.8.1]$ sudo ./configure --with-kernel=/lib/modules/`uname -r`/source
grep: /lib/modules/2.6.35.7-23Mar/source/include/linux/utsrelease.h: No such
file or directory
configure: error: The kernel source tree does not appear to be 2.6
What shall i do next?
_____
From: elaine at omnibond.com
To: g_p_java at hotmail.com; pvfs2-users at beowulf-underground.org
Subject: RE: [Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6
Date: Wed, 1 Feb 2012 16:26:21 -0500
Try --with-kernel=/lib/modules/`uname -r`/source
Hope that helps,
Elaine
From: pvfs2-users-bounces at beowulf-underground.org
[mailto:pvfs2-users-bounces at beowulf-underground.org] On Behalf Of g_p g_p
Sent: Wednesday, February 01, 2012 4:13 PM
To: pvfs2
Subject: [Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6
Hello,
i'm using pvfs2 and i'm trying to load the kernel module
So i did:
1st try:
//print version
[~] cat /proc/version
Linux version 2.6.35.7-23Mar (gcc version 4.1.2 (Red Hat 4.1.2-48))
[~] cd /usr/pvfs-2.8.1
[pvfs-2.8.1] sudo ./configure
--with-kernel=/boot/vmlinuz-2.6.35.7-23Mar
Checking ... (etc)
ERROR: configure: error: The --with-kernel path /boot/vmlinuz-
2.6.35.7-23Mar is not a directory.
2nd try:
[pvfs-2.8.1] sudo ./configure --with-kernel=/usr/src/linux-2.6.35.7
Checking ... (etc)
ERROR:
grep: /usr/src/linux-2.6.35.7/include/linux/utsrelease.h: No such file or
directory
configure: error: The kernel source tree does not appear to be 2.6
So what shall i do in order to fix that?
Thanks, in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20120202/44c44317/attachment-0001.htm
More information about the Pvfs2-users
mailing list