Have tried compiling zenoss from source on Mac OSX 10.5.6.
Xcode Developer tools 3.1 + Macports (/opt/local) installed
It crashes at some very strange point when compiling the Samba/WMI pre-reqs:
Code:
patching file plugins/check_hpjd.c
configuring: /Users/zenoss/zenoss-2.4.0/build/nagios-plugins-1.4.13/Makefile
installing: nagios
unpacking: /Users/zenoss/zenoss-2.4.0/build/libsmi-0.4.8
configuring: /Users/zenoss/zenoss-2.4.0/build/libsmi-0.4.8/Makefile
building: /Users/zenoss/zenoss-2.4.0/build/libsmi-build
installing: libsmi
unpacking: /Users/zenoss/zenoss-2.4.0/build/wmi-1.2.4
building: /Users/zenoss/zenoss-2.4.0/build/wmi-build
installing: wmi
make: *** [wmi-install] Error 2
unable to build zenoss and prerequisites, see zenbuild.log
Server:zenoss-2.4.0 zenoss$
Server:zenoss-2.4.0 zenoss$
/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 ; \
./autogen.sh ; \
CPPFLAGS="-I//usr/local/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 //usr/local/zenoss/bin ; \
cp bin/wmic //usr/local/zenoss/bin ; \
cp bin/shared/*async_wmi_lib.dylib* //usr/local/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
[/code]
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34562#34562
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users