[Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6
Elaine Quarles
elaine at omnibond.com
Mon Feb 6 06:18:07 EST 2012
Since you have successfully run the configure command with the --with-kernel
option, you can disregard these instructions.
-- Elaine
From: g_p g_p [mailto:g_p_java at hotmail.com]
Sent: Saturday, February 04, 2012 3:40 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,
if i execute "make oldconfig",
is that command going to configure the kernel using some old parameters from
an old configuration file?
Cause i wouldn't like to make some changes that are going to affect others
work.
Cause a lot of people are working on the same machine.
Is that command harmless?
Thanks, in advance
_____
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: Thu, 2 Feb 2012 10:24:11 -0500
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/20120206/f77d2373/attachment-0001.htm
More information about the Pvfs2-users
mailing list