Hi,
I had this same error. What was most confusing was that the build seems to
clean up after itself and had removed the generated pywmi_wrap.c file.
I followed the following steps (modified for your paths) to get round the
problem.
cd build/wmi-0.1.0/Samba/source
swig -I./scripting/swig -python wmi/pywmi.i
vi wmi/pywmi_wrap.c
insert #define _SAFE_STRING_H before the 3rd #include <...>
cd /usr/src/zenoss-2.0.0
./install.sh
You can probably put the #define before the first #include. I do not think
it will make that much difference.
Chet was good enough to raise a defect for me for this problem:
http://dev.zenoss.org/trac/ticket/1581
YMMV but HTH,
Rory
"geotek" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
11/06/2007 09:16
Please respond to
[email protected]
To
[email protected]
cc
Subject
[zenoss-users] 2.0.0 Update Installation fails during wmi-install
We tried to update a working 1.1.2 installation via ./install.sh and it
fails with the following error log messages:
swig -I./scripting/swig -python wmi/pywmi.i
Compiling wmi/pywmi_wrap.c
wmi/pywmi_wrap.c: In function ‘SWIG_Python_addvarlink’:
wmi/pywmi_wrap.c:2318: error:
‘__ERROR__XX__NEVER_USE_STRCPY___’ undeclared (first use in
this function)
wmi/pywmi_wrap.c:2318: error: (Each undeclared identifier is reported only
once
wmi/pywmi_wrap.c:2318: 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/local/include/python2.4 -fPIC -c wmi/pywmi_wrap.c -o
wmi/pywmi_wrap.o
gmake[2]: *** [wmi/pywmi_wrap.o] Fehler 1
rm wmi/pywmi_wrap.c
gmake[2]: Leaving directory
`/usr/src/zenoss-2.0.0/build/wmi-0.1.0/Samba/source'
gmake[1]: *** [pywmi-installed] Fehler 2
gmake[1]: Leaving directory `/usr/src/zenoss-2.0.0/build/wmi-0.1.0'
What can be done?
http://geotek.de
------------------------
unset
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=6945#6945
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,
is being sent by 3Com for the sole use of the intended recipient(s) and
may contain confidential, proprietary and/or privileged information.
Any unauthorized review, use, disclosure and/or distribution by any
recipient is prohibited. If you are not the intended recipient, please
delete and/or destroy all copies of this message regardless of form and
any included attachments and notify 3Com immediately by contacting the
sender via reply e-mail or forwarding to 3Com at [EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users