<div>
<p>Hi,</p>
<p>When building the lustre rpm modules, configure completes fine but "make rpms" failed with the following error messages </p>
<p>./configure --with-linux=/usr/src/linux-2.6.9-55.0.9.EL_lustre.1.6.3/ </p>
<p>make rpms</p>
<p> -name .#* | xargs rm -rf<br>make[2]: Leaving directory `/usr/src/lustre-1.6.3'<br>find lustre-1.6.3 -type d ! -perm -777 -exec chmod a+rwx {} \; -o \<br>  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 
<br>  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \<br>  ! -type d ! -perm -444 -exec /bin/sh /usr/src/lustre-1.6.3/install-sh -c -m a+r {} {} \; \<br>|| chmod -R a+r lustre-1.6.3<br>/bin/sh /usr/src/lustre-1.6.3/missing --run tar chof - 
lustre-1.6.3 | GZIP=--best gzip -c >lustre-1.6.3.tar.gz<br>{ test ! -d lustre-1.6.3 || { find lustre-1.6.3 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr lustre-1.6.3; }; }rpmbuild -ta lustre-1.6.3.tar.gz
 <br>error: File /usr/src/lustre-1.6.3/lustre-ldiskfs-3.0.2.tar.gz: No such file or directory<br>make[1]: *** [rpms-real] Error 1<br>make[1]: Leaving directory `/usr/src/lustre-1.6.3'<br>make: *** [rpms] Error 2<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:t@svbu-qaclus-65" target="_blank">
clus-65</a> lustre-1.6.3]#</p></div>
<div> </div>
<div>Actually lustre-ldiskfs-3.0.2.tar.gz is located in /usr/src/lustre-1.6.3/ldiskfs/ directory, but the script is checking one level higher.</div>
<div> </div>
<div>The server is running:</div>
<div>
<p>Linux 2.6.9-55.0.9.EL_lustre.1.6.3smp #1 SMP Sun Oct 7 20:08:31 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux<br><br>Installed lustre-source rpm:<br>lustre-source-1.6.3-2.6.9_55.0.9.EL_lustre.1.6.3smp.x86_64.rpm </p>
<p><strong>Steps to reproduce:</strong> copy .config from /usr/src/lustre-1.6.3/lustre/kernel_patches/kernel_configs/kernel-2.6.9-2.6-rhel4-x86_64-smp.config in to the kernel source tree and compile:</p>
<p>make include/asm<br>make include/linux/version.h<br>make SUBDIRS=scripts</p>
<p>cd to lustre sources tree and run:</p>
<p>./configure --with-linux=/usr/src/linux-2.6.9-55.0.9.EL_lustre.1.6.3/</p>
<p>make rpms </p>
<p>Any help is really appreciated, Thanks in advance </p>
<p>Ash</p></div>