Hi!
I'm trying to instal Zenoss 2.4.2 from source, but to no success.
I'm basically having the same problem with WMI as anybody else, but the
difference is that I can't, no matter what I try, fix it.
I run the install.sh script, and fills out the info about mysql, and everything
seems to work out well until this....
Code:
cd Samba/source ; \
./autogen.sh ; \
CPPFLAGS="-I//opt/zenoss/include/python2.4" \
./configure --without-readline --enable-debug ; \
make proto bin/wmic bin/winexe libraries ; \
touch pywmi-build
./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: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
lib/replace/autoconf-2.60.m4:169: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
lib/replace/autoconf-2.60.m4:169: AC_USE_SYSTEM_EXTENSIONS is expanded from...
build/m4/check_cc.m4:8: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
autoheader: '/opt/local/bin/autom4te' failed with exit status: 1
/bin/sh: ./configure: No such file or directory
make[2]: *** No rule to make target `proto'. Stop.
cd Samba/source ; \
cp bin/winexe //opt/zenoss/bin ; \
cp bin/wmic //opt/zenoss/bin ; \
cp bin/shared/*async_wmi_lib.dylib* //opt/zenoss/lib/python
cp: bin/winexe: No such file or directory
cp: bin/wmic: No such file or directory
cp: bin/shared/*async_wmi_lib.dylib*: No such file or directory
make[1]: *** [pywmi-installed] Error 1
If I comment out the three AC_REQUIRE parts (as suggested in
http://forums.zenoss.com/viewtopic.php?t=7485&highlight=acrequire) I get
another error
Code:
./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
configure.ac:96: error: m4_defn: undefined macro: _AC_SUBST_VARS
configure.ac:96: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: '/usr/bin/autom4te' failed with exit status: 1
/bin/sh: line 2: ./configure: No such file or directory
As suggested in http://forums.zenoss.com/viewtopic.php?t=8526&highlight=acvar I
tried to run aclocal manually, and got the same error as the poster in that
thread.
Code:
lib/charset/config.m4:2: warning: underquoted definition of SMB_CHECK_ICONV
lib/charset/config.m4:2: run info '(automake)Extending aclocal'
lib/charset/config.m4:2: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:96: error: m4_defn: undefined macro: _AC_SUBST_VARS
configure.ac:96: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
All posts I've read in the forums seem to end up with either using a
stack-installer (which is not a solution for my system), or reverting one or
more dependencies.
What is the actual problem here? All I can get is that it's a dependency
problem with autoconf and/or m4. Is it between them only, or between them and
zenoss?
This problem can be related back to zenoss 2.3.x (from searching the forums),
why is there not a fix for it yet (or am I missing something)?
What is the actual problem?
Zenoss looks so nice, please let me install it (:!
Useful information:
* I'm running Arch linux (freshly updated)
* MySQL 5.1.35 (remote computer)
* autoconf 2.63
* m4 1.4.13
* swig 1.3.39 (also tried without it)
* I've tried both zenoss 2.4.2 tar-ball, and svn-trunk
* I've read and followed the FreeBSD guide (http://www.caseyhillman.com/?p=88)
to no success (including commenting out the AC_REQUIRE part).
* I have _not_ tried to revert to older autoconf and/or m4 and/or other
things, and probably won't do it either. I'd really like to find and solve the
problem instead of work around it.
* I have _not_ tried an older wmi package, as I read in some post that it
won't work anymore (because of new pysamba)
* Commenting out wmi in GNUmakefile will completely ignore the build of wmi,
and the installer will end successfully. But that leaves me with no wmi, which
I don't like.
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=37020#37020
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users