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:[email protected]] Sent: Saturday, February 04, 2012 3:40 PM To: [email protected]; 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: [email protected] To: [email protected]; [email protected] 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:[email protected]] Sent: Wednesday, February 01, 2012 4:32 PM To: [email protected]; 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: [email protected] To: [email protected]; [email protected] 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: [email protected] [mailto:[email protected]] 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
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
