[Pvfs2-users] Building Linux Kernel interface for Ubuntu 2.6.x failing at ./configure

Adam Yee adamjyee at gmail.com
Wed Jun 29 01:58:03 EDT 2011


Hello,

Following this guide:
http://www.pvfs.org/cvs/pvfs-2-8-branch-docs/doc//pvfs2-quickstart/pvfs2-quickstart.php

I worked out everything successfully up to section 5.2 Preparing Linux
Kernel 2.6.x configurations.

Here's what I see:

local_account at server1:/usr/src/pvfs-2.8.2$ uname -r
2.6.35-22-server
local_account at server1:/usr/src/pvfs-2.8.2$ sudo ./configure
--with-kernel=/usr/src/linux-headers-2.6.35-22
...
...
checking for pkg-config... no
checking for __error_code field in aiocb struct... yes
checking for __return_value field in aiocb struct... yes
checking whether byte ordering is bigendian... no
checking for void *... yes
checking size of void *... 8
configure: error: The kernel source tree must have been configured.

Using the alternate method:

local_account at server1:/usr/src/pvfs-2.8.2$ sudo ./configure
--with-kernel=/lib/modules/`uname -r`/build
...
...
checking for void *... yes
checking size of void *... 8
grep: /lib/modules/2.6.35-22-server/build/include/linux/utsrelease.h: No
such file or directory
configure: error: The kernel source tree does not appear to be 2.6
local_account at server1:/usr/src/pvfs-2.8.2$ ls /lib/modules/`uname -r`/build
arch           drivers   init    lib             net       sound   usr
block          firmware  ipc     Makefile        samples   source  virt
crypto         fs        Kbuild  mm              scripts   tools
Documentation  include   kernel  Module.symvers  security  ubuntu

I do have the file that it is looking for though:

local_account at server1:/usr/src/pvfs-2.8.2$ locate utsrelease
/usr/src/linux-headers-2.6.35-22-server/include/generated/utsrelease.h

I noticed from this thread
http://www.beowulf-underground.org/pipermail/pvfs2-users/2008-March/002348.html
I
might need to install a devel package, but what is it for Debian?  Is this
my issue?  If anyone has solved this before could you please help?

Thank you!
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20110628/a84e4401/attachment.htm


More information about the Pvfs2-users mailing list