From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Thu Jul 26 2007 - 08:53:47 PDT
Neal Becker wrote: > Trying to build http://mantis.lbl.gov/blcr-dist/blcr-0.6.0_b2-1.src.rpm. Two > tries so far: > > This is fedora f7 x86_64: > > #1) As shipped. Almost worked, but rpmbuild died on the rpath problem. > > #2) I see autoreconf was included, so I did > rpmbuild --define 'with_autoreconf 1' > > This time I got: > ++ grep LINUX_VER config.status > ++ cut -d, -f3 > + LINUX_VER='|#_!!_#|2.6.21-1.3163.fc7' > ++ grep LINUX_SRC config.status > ++ cut -d, -f3 > + LINUX_SRC='|#_!!_#|/lib/modules/2.6.21-1.3163.fc7/source' > + '[' '|#_!!_#|2.6.21-1.3163.fc7' '!=' 2.6.21-1.3163.fc7 ']' > + set +x > > ========================================================================== > The running kernel (2.6.21-1.3163.fc7) does not match the kernel source > found by configure (|#_!!_#|/lib/modules/2.6.21-1.3163.fc7/source, version | > #_!!_#|2.6.21-1.3163.fc7). > To resolve this conflict, try passing (to rpmbuild or rpm): > "--define 'kernel_ver |#_!!_#|2.6.21-1.3163.fc7'" > or > "--define 'kernel_src PATH_TO_2.6.21-1.3163.fc7_SOURCES'" > to select a matching source tree and kernel version. > ========================================================================== > Well, that certainly looks odd. Neal, Could you please send me (PHHargrove_at_lbl_dot_gov) the "configure" and "config.status" files. It looks like the autotools you have are breaking some assumption(s) I've made. -Paul -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group HPC Research Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900