[LU-1868] compiling lustre 2.2 client on centos 6.2 error missing ext4 source Created: 10/Sep/12  Updated: 12/Sep/12  Resolved: 10/Sep/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.2.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Supporto Lustre Jnet2000 (Inactive) Assignee: Minh Diep
Resolution: Not a Bug Votes: 0
Labels: client
Environment:

Centos 6.2 + lustre 2.2 source


Severity: 3
Epic: client
Rank (Obsolete): 6333

 Description   

I'm trying to compile a patchless client on a centos 6.2 with kernel 2.6.32-220.el6.x86_64, when I run ./configure I receive this error:

checking whether to use ext3 or ext4 source... ext4
checking ext4 source directory...
configure: error: Complete ext4 source must exist.

If you are building using kernel-devel packages then ensure that the
matching kernel-debuginfo-common and kernel-debuginfo-common-<arch>
packages are installed.

The kernel-debuginfo-common package is no longer provide by centos 6. Could you give me information where find the ext4 source?

Thanks in advance.



 Comments   
Comment by James A Simmons [ 10/Sep/12 ]

What configure options are you using? Try ./configure --disable-server --enable-client

Comment by Brian Murrell (Inactive) [ 10/Sep/12 ]

If you are building using kernel-devel packages then ensure that the
matching kernel-debuginfo-common and kernel-debuginfo-common-<arch>
packages are installed.

We should investigate if this is actually necessary. I can't imagine why it would be.

As for your error, you say you are building a patchless client, so then ext4 source should not be necessary. Lustre's configure should automatically detect if building a server or patchless client is achievable based on the linux-devel location you point to with the "--with-linux" argument, but you can be explicit by giving configure a "--disable-server" option also.

Comment by Peter Jones [ 10/Sep/12 ]

Minh

Could you please help with this one?

Thanks

Peter

Comment by Supporto Lustre Jnet2000 (Inactive) [ 10/Sep/12 ]

Hi Peter,
the problem is solved using explicity the option --disable-server --enable-client .

thanks in advance. This issue is close for me

Comment by Peter Jones [ 10/Sep/12 ]

ok thanks!

Comment by Brian Murrell (Inactive) [ 12/Sep/12 ]

It would be interesting to understand however why configure could not figure the "--disable-server --enable-client" options automagically, as it's supposed to be able to.

Generated at Sat Feb 10 01:20:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.