I'm trying to build a localized rpm for zenoss. I initially started with
zenoss-2.0.6-0.el4.src.rpm and have now switched to zenoss-2.1.1-0.el4.src.rpm
but both give the same error during the build.
This is under RHEL4 i386.
I have not yet made any changes to the .spec file.
The failure on the cli is;
unpacking wmi-0.1.5 in build/
gmake: *** [wmi-install] Error 2
+ fail 'unable to build zenoss and prerequisites, see zenbuild.log'
+ echo unable to build zenoss and prerequisites, see zenbuild.log
unable to build zenoss and prerequisites, see zenbuild.log
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.66452 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.66452 (%build)
and the following is taken from the zenbuild log;
gmake[1]: Entering directory
`/usr/src/redhat/BUILD/zenoss-2.1.1/build/wmi-0.1.5'
cd Samba/source && \
./autogen.sh && \
CPPFLAGS="-I/usr/include/python2.3" ./configure --without-readline && \
gmake proto bin/wmic bin/wmis wmi/_pywmi.so bin/winexe && \
cp bin/winexe /var/tmp/zenoss-2.1.1-0-root/opt/zenoss/bin &&
\
cp bin/wmic /var/tmp/zenoss-2.1.1-0-root/opt/zenoss/bin &&
\
cp wmi/_pywmi.so /var/tmp/zenoss-2.1.1-0-root/opt/zenoss/lib/python &&
\
cp wmi/pywmi.py /var/tmp/zenoss-2.1.1-0-root/opt/zenoss/lib/python
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'version.h' created for
Samba("4.0.0tp4-SVN-build-UNKNOWN")
./autogen.sh: running autoheader -I. -Ilib/replace
build/m4/check_cc.m4:8: warning: AC_GNU_SOURCE is m4_require'd but is not
m4_defun'd
configure.ac:96: error: m4_defn: undefined macro: _AC_SUBST_VARS
configure.ac:96: the top level
autoheader: autom4te failed with exit status: 1
at /usr/bin/autoheader line 163
gmake[1]: *** [pywmi-installed] Error 1
gmake[1]: Leaving directory `/usr/src/redhat/BUILD/zenoss-2.1.1/build/wmi-0.1.5'
Has anyone got any ideas of what I need to do to fix this issue?
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=13399#13399
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users