Hi<br><br> I get a source from a following.<br> <a href="http://hg.clusterlabs.org/pacemaker/stable-1.0">http://hg.clusterlabs.org/pacemaker/stable-1.0</a><br><br> I input the following commands afterwards.(RHEL5.5 x86_64)<br>
1) Environment Setting<br> $export PREFIX=/usr<br> $export LCRSODIR=$PREFIX/libexec/lcrso<br> $export CLUSTER_USER=hacluster<br> $export CLUSTER_GROUP=haclient<br> 2) build command<br> $./autogen.sh && ./configure --prefix=$PREFIX --localstatedir=/var --with-lcrso-dir=$LCRSODIR<br>
$make<br> $make rpm<br><br> However, the following errors produced make rpm after enforcement.<br>----<br>cp pacemaker-fedora.spec pacemaker.spec<br>sed -i.sed 's/global\ upstream_version.*/global\ upstream_version\ e7c9c7341c6f/' pacemaker.spec<br>
rpmbuild -bs --define "dist .fedora" --define "_sourcedir /share/ha/buildbot/build/RHEL5.5-x86_64/pacemaker-1.0/build" --define "_specdir /share/ha/buildbot/build/RHEL5.5-x86_64/pacemaker-1.0/build" --define "_srcrpmdir /share/ha/buildbot/build/RHEL5.5-x86_64/pacemaker-1.0/build" pacemaker.spec<br>
error: File /share/ha/buildbot/build/RHEL5.5-x86_64/pacemaker-1.0/build/pacemaker.tar.bz2: No such file or directory<br>make: *** [srpm-fedora] Error 1<br>rm pacemaker-fedora.spec<br>----<br> The following corrections seem to be related to me.<br>
<a href="http://hg.clusterlabs.org/pacemaker/stable-1.0/diff/e7c9c7341c6f/GNUmakefile">http://hg.clusterlabs.org/pacemaker/stable-1.0/diff/e7c9c7341c6f/GNUmakefile</a><br><br>Regards,<br>Tomo<br><br>