Operating System - Linux
1827474 Members
2061 Online
109965 Solutions
New Discussion

Problem with installing cluster manager rpm package under AS3

 
SOLVED
Go to solution
yongye_1
Advisor

Problem with installing cluster manager rpm package under AS3

Hi,

I have a new installed As3 linux box. I want to install cluter manager rpm package for testing. But I meet some problem during install. Please see the follows for details,

[root@clu tom]# rpmbuild --rebuild clumanager-1.0.26-2.src.rpm
Installing clumanager-1.0.26-2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.96156
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf clumanager-1.0.26
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/clumanager-1.0.26.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clumanager-1.0.26
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ ./autogen.sh
configure.in:255: error: `src/java/Makefile' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:255: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
configure.in:255: error: `src/java/Makefile' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:255: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1
doc/man/Makefile.am:4: invalid variable `man8_DATA'
src/cluadmin/Makefile.am:8: LDFLAGS must be set with `=' before using `+='
Use of uninitialized value in concatenation (.) or string at /usr/bin/automake line 8449.
: deprecated feature: `cluadmin' overrides `cluadmin$(EXEEXT)'
: change your target to read `cluadmin$(EXEEXT)'
/usr/share/automake-1.6/am/compile.am: LDFLAGS was set with `+=' and is now set with `='
src/cluadmin/Makefile.am: installing `./depcomp'
src/clulib/Makefile.am:2: CFLAGS must be set with `=' before using `+='
src/daemons/Makefile.am:2: LIBS must be set with `=' before using `+='
/usr/share/automake-1.6/am/compile.am: LIBS was set with `+=' and is now set with `='
src/java/Makefile.am:3: LIBS must be set with `=' before using `+='
/usr/share/automake-1.6/am/compile.am: LIBS was set with `+=' and is now set with `='
src/stonithlib/Makefile.am:5: CFLAGS must be set with `=' before using `+='
src/utils/Makefile.am:3: LIBS must be set with `=' before using `+='
/usr/share/automake-1.6/am/compile.am: LIBS was set with `+=' and is now set with `='
doc/man/Makefile.am:4: invalid variable `man8_DATA'
src/cluadmin/Makefile.am:8: LDFLAGS must be set with `=' before using `+='
Use of uninitialized value in concatenation (.) or string at /usr/bin/automake line 8449.
: deprecated feature: `cluadmin' overrides `cluadmin$(EXEEXT)'
: change your target to read `cluadmin$(EXEEXT)'
/usr/share/automake-1.6/am/compile.am: LDFLAGS was set with `+=' and is now set with `='
src/clulib/Makefile.am:2: CFLAGS must be set with `=' before using `+='
src/daemons/Makefile.am:2: LIBS must be set with `=' before using `+='
/usr/share/automake-1.6/am/compile.am: LIBS was set with `+=' and is now set with `='
src/java/Makefile.am:3: LIBS must be set with `=' before using `+='
/usr/share/automake-1.6/am/compile.am: LIBS was set with `+=' and is now set with `='
src/stonithlib/Makefile.am:5: CFLAGS must be set with `=' before using `+='
src/utils/Makefile.am:3: LIBS must be set with `=' before using `+='
/usr/share/automake-1.6/am/compile.am: LIBS was set with `+=' and is now set with `='
error: Bad exit status from /var/tmp/rpm-tmp.96156 (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.96156 (%prep)

Any ideas will be appreciated!

Yongye
2 REPLIES 2
Hoefnix
Honored Contributor
Solution

Re: Problem with installing cluster manager rpm package under AS3

Yongye,

Why didn't you try to install the binary package for example:
clumanager-1.2.9-1.i386.rpm
See also:
https://rhn.redhat.com/errata/RHBA-2003-331.html

It's only available on https://rhn.redhat.com/ so you need a login for this download.

HTH,

Peter Geluk
yongye_1
Advisor

Re: Problem with installing cluster manager rpm package under AS3

Peter Geluk,

Thank you very much.

I have installed the clumanager-1.2.9-1.src.rpm successfully.

I don't have the RHN id to download this package.

I downloaded it from http://dist.taolinux.org/tao-1.0-SRPMS/.

I install it only for testing.

Yongye