From: Neal Becker (ndbecker2_at_gmail.com)
Date: Thu Jul 26 2007 - 04:01:23 PDT
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. ==========================================================================