On May 5, 2008, at 1:33 PM, Ivan Levchenko wrote:
trying to install zenoss from source on fc5. i first tried the latest
trunk svn version then checked out the latest stable release, but i am
still having the following build error:

Compiling wmi/pywmi_wrap.c
wmi/pywmi_wrap.c: In function 'SWIG_Python_addvarlink':
wmi/pywmi_wrap.c:2338: error: '__ERROR__XX__NEVER_USE_STRCPY___'
undeclared (first use in this function)
wmi/pywmi_wrap.c:2338: error: (Each undeclared identifier is reported only once
wmi/pywmi_wrap.c:2338: error: for each function it appears in.)
The following command failed:
gcc -Ilib/replace -Ilib/talloc -Ilib/tdb/include -Iheimdal_build
-Iheimdal/lib/roken -Ilib/socket_wrapper -Iheimdal/lib/des
-Iheimdal/lib/com_err -Iheimdal/lib/asn1 -Iheimdal/lib/krb5
-Iheimdal/lib/hdb -Iheimdal/lib/gssapi/spnego -Iheimdal/lib/gssapi
-Iheimdal/lib/gssapi/krb5 -I heimdal/lib/gssapi/mech -I./include -I.
-I./lib -I./lib/replace -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
-I/usr/include/python2.4 -fPIC -c wmi/pywmi_wrap.c -o wmi/pywmi_wrap.o
gmake[2]: *** [wmi/pywmi_wrap.o] Error 1
rm wmi/pywmi_wrap.c
gmake[2]: Leaving directory
`/home/zenoss/zenossinst/build/wmi-0.1.5/Samba/source'
gmake[1]: *** [pywmi-installed] Error 2
gmake[1]: Leaving directory `/home/zenoss/zenossinst/build/wmi-0.1.5'

A closed ticket exists - http://dev.zenoss.org/trac/ticket/1581, but
the problem still persists.

I wouldn't really recommend trying to build on FC5, but it is most likely possible. Did you try implementing Rory's recommendation in ticket #1581? Editing pywmi_warp.c to have that #define _SAFE_STRING_H line added?
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to