help needed in resolving libvirt-cim compilation errors..

Hi All, I am getting following error while compiling libvirt-cim using "make install". Any help is appreciated. edProfile.mof ./schema/AllocationCapabilities.mof /bin/sh /root/RAGHU/libvirt-cim/libvirt-cim-0.6.0/install-sh -c -m 644 -t "/usr/local/share/libvirt-cim" ./schema/RegisteredProfile.registration ./schema/ElementConformsToProfile.registration ./schema/ReferencedProfile.registration if [[ sfcb != pegasus ]]; then \ sed -i '/^# --/,/^# --!/d' .//usr/local/share/libvirt-cim/RegisteredProfile.registration .//usr/local/share/libvirt-cim/ElementConformsToProfile.registration .//usr/local/share/libvirt-cim/ReferencedProfile.registration; \ fi sed: can't read .//usr/local/share/libvirt-cim/RegisteredProfile.registration: No such file or directory sed: can't read .//usr/local/share/libvirt-cim/ElementConformsToProfile.registration: No such file or directory sed: can't read .//usr/local/share/libvirt-cim/ReferencedProfile.registration: No such file or directory make[2]: *** [install-data-local] Error 2 make[2]: Leaving directory `/root/RAGHU/libvirt-cim/libvirt-cim-0.6.0' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/root/RAGHU/libvirt-cim/libvirt-cim-0.6.0' make: *** [install-recursive] Error 1 [root@vmware-nexus1k-01 libvirt-cim-0.6.0]# Best Regards Raghu

On Mon, Jun 18, 2012 at 08:16:16AM +0000, Raghunatha Reddy P (raghunp) wrote:
Hi All,
I am getting following error while compiling libvirt-cim using "make install". Any help is appreciated.
edProfile.mof ./schema/AllocationCapabilities.mof
/bin/sh /root/RAGHU/libvirt-cim/libvirt-cim-0.6.0/install-sh -c -m 644 -t "/usr/local/share/libvirt-cim" ./schema/RegisteredProfile.registration ./schema/ElementConformsToProfile.registration ./schema/ReferencedProfile.registration
if [[ sfcb != pegasus ]]; then \
sed -i '/^# --/,/^# --!/d' .//usr/local/share/libvirt-cim/RegisteredProfile.registration .//usr/local/share/libvirt-cim/ElementConformsToProfile.registration .//usr/local/share/libvirt-cim/ReferencedProfile.registration; \
fi
sed: can't read .//usr/local/share/libvirt-cim/RegisteredProfile.registration: No such file or directory
sed: can't read .//usr/local/share/libvirt-cim/ElementConformsToProfile.registration: No such file or directory
sed: can't read .//usr/local/share/libvirt-cim/ReferencedProfile.registration: No such file or directory
make[2]: *** [install-data-local] Error 2
make[2]: Leaving directory `/root/RAGHU/libvirt-cim/libvirt-cim-0.6.0'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/root/RAGHU/libvirt-cim/libvirt-cim-0.6.0'
make: *** [install-recursive] Error 1
[root@vmware-nexus1k-01 libvirt-cim-0.6.0]#
I think that's a bug when you rebuild with sblim-fscb installed we have a patch that need to be applied and pushed in a release: https://www.redhat.com/archives/libvirt-cim/2012-March/msg00014.html Could you try to apply it and see if fixes it for you and report ? Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (2)
-
Daniel Veillard
-
Raghunatha Reddy P (raghunp)