Hi,
On Wed, Oct 19, 2011 at 01:56:39PM +0200, Nikita Michalko wrote:
> Hi all,
>
> I've just succesfully compiled the ClusterLabs-resource-agents-v3.9.2-65-
> g46c6990(.zip) from: https://github.com/ClusterLabs/resource-agents,
> configured
> with:
> ./configure --prefix=$PREFIX --localstatedir=/var --sysconfdir=/etc --enable-
> fatal-warnings=no
You should add: --with-ras-set=linux-ha
> After "make" I've tried "make rpm" and now I'm facing to the following errors:
> ... snip ...
>
> gmake[3]: Leaving directory `/opt/HA/sourc/ClusterLabs-resource-
> agents-46c6990/ldirectord'
> /opt/HA/sourc/ClusterLabs-resource-agents-46c6990/doc
> gmake[3]: Entering directory `/opt/HA/sourc/ClusterLabs-resource-
> agents-46c6990/doc'
> gmake[3]: Leaving directory `/opt/HA/sourc/ClusterLabs-resource-
> agents-46c6990/doc'
> gmake \
> top_distdir="resource-agents-UNKNOWN" distdir="resource-agents-
> UNKNOWN" \
> dist-hook
> gmake[3]: Entering directory
> `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
> if test -d .git; then \
> LC_ALL=C ./make/gitlog-to-changelog \
> --since=2000-01-01 > resource-agents-UNKNOWN/cl-t;
>
> \
> rm -f resource-agents-UNKNOWN/ChangeLog.devel;
>
> \
> mv resource-agents-UNKNOWN/cl-t resource-agents-
> UNKNOWN/ChangeLog.devel; \
> fi
> echo UNKNOWN > resource-agents-UNKNOWN/.tarball-version
> rm -f resource-agents-UNKNOWN/resource-agents.spec && \
> cp ./resource-agents.spec resource-agents-UNKNOWN/resource-
> agents.spec
> gmake[3]: Leaving directory
> `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
> find resource-agents-UNKNOWN -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
> ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
> ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
> ! -type d ! -perm -444 -exec /bin/sh /opt/HA/sourc/ClusterLabs-
> resource-agents-46c6990/install-sh -c -m a+r {} {} \; \
> || chmod -R a+r resource-agents-UNKNOWN
> tardir=resource-agents-UNKNOWN && /bin/sh /opt/HA/sourc/ClusterLabs-resource-
> agents-46c6990/missing --run tar chof - "$tardir" | GZIP=--best gzip -c
> >resource-agents-UNKNOWN.tar.gz
> tardir=resource-agents-UNKNOWN && /bin/sh /opt/HA/sourc/ClusterLabs-resource-
> agents-46c6990/missing --run tar chof - "$tardir" | bzip2 -9 -c >resource-
> agents-UNKNOWN.tar.bz2
> { test ! -d resource-agents-UNKNOWN || { find resource-agents-UNKNOWN -type d
> !
> -perm -200 -exec chmod u+w {} ';' && rm -fr resource-agents-UNKNOWN; }; }
> gmake[2]: Leaving directory
> `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
> gmake[1]: »resource-agents-UNKNOWN.tar.gz« ist bereits aktualisiert.
> gmake[1]: Leaving directory
> `/opt/HA/sourc/ClusterLabs-resource-agents-46c6990'
> rpmbuild --define "_sourcedir
> /opt/HA/sourc/ClusterLabs-resource-agents-46c6990"
> --define "_specdir /opt/HA/sourc/ClusterLabs-resource-agents-46c6990"
> --define
> "_builddir /opt/HA/sourc/ClusterLabs-resource-agents-46c6990" --define
> "_srcrpmdir /opt/HA/sourc/ClusterLabs-resource-agents-46c6990" --define
> "_rpmdir
> /opt/HA/sourc/ClusterLabs-resource-agents-46c6990" -ba resource-agents.spec
> error: Failed build dependencies:
> which is needed by resource-agents-UNKNOWN-1.x86_64
> make: *** [rpm] Fehler 1
I guess that this distribution doesn't have the which package.
So, just remove it from the list of requirements.
> Q.: 1. why is this version UNKNOWN?
Perhaps with-ras-set is going to fix that.
> Q.2.: what is needed yet by resource-agents-UNKNOWN for succesfull build of
> an
> RPM?
Did the above help?
Thanks,
Dejan
> TIA!
>
>
> Nikita Michalko
>
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems