Hello Wayne,
Thanks for the pointer , will try.
But i am on Ubuntu and did not understand why I should be doing a 'make
rpm'.
Also i have sfcb ( Lite weight broker ) installed, will that not work with
libvirt-cim ? Is CIMOM pegasus a must ?
On Mon, Oct 31, 2011 at 7:24 AM, Wayne Xia <xiawenc(a)linux.vnet.ibm.com>wrote:
pls have a try for following commands with CIMOM tog-pegasus
installed:
./autoconfiscate.sh
./configure
make rpm
于 2011-10-29 19:46, Deepak Shetty 写道:
> Hi,
> I am getting the following error while doing ' make install' for
> libvirt-cim. Can someone pls help provide some pointers on what could be
> wrong here ?
>
> ....
> ....
>
> test -z "/home/dpkshetty/usr/lib/cmpi" || /bin/mkdir -p
> "/home/dpkshetty/usr/lib/cmpi"
> /bin/bash ../libtool --mode=install /usr/bin/install -c
> libVirt_ComputerSystem.la libVirt_Device.la libVirt_RASD.la
> libVirt_HostSystem.la libVirt_VSSD.la
> libVirt_**EnabledLogicalElementCapabilit**ies.la libVirt_DevicePool.la
> libVirt_RegisteredProfile.la libVirt_**VSMigrationCapabilities.la
> libVirt_**VSMigrationSettingData.la
> libVirt_**VirtualSystemSnapshotServiceCa**pabilities.la
> libVirt_SystemDevice.la libVirt_**ComputerSystemIndication.la
> libVirt_**ResourceAllocationSettingDataI**ndication.la
> libVirt_SwitchService.la libVirt_**ComputerSystemMigrationIndicat**ion.la
> libVirt_**VirtualSystemManagementCapabil**ities.la
> libVirt_**AllocationCapabilities.la libVirt_ReferencedProfile.la
> libVirt_**VirtualSystemSnapshotService.**la
> libVirt_**VirtualSystemManagementService**.la
> libVirt_**ResourcePoolConfigurationServi**ce.la
> libVirt_**ResourcePoolConfigurationCapab**ilities.la
> libVirt_VSMigrationService.la libVirt_**ConsoleRedirectionService.la
> libVirt_**ConsoleRedirectionServiceCapab**ilities.la
> libVirt_KVMRedirectionSAP.la libVirt_**SettingsDefineCapabilities.la
> libVirt_HostedDependency.la libVirt_**ElementConformsToProfile.la
> libVirt_HostedResourcePool.la libVirt_ElementCapabilities.la
> libVirt_VSSDComponent.la libVirt_SettingsDefineState.la
> libVirt_**ResourceAllocationFromPool.la
> libVirt_**ElementAllocatedFromPool.la libVirt_HostedService.la
> libVirt_ElementSettingData.la libVirt_ConcreteComponent.la
> libVirt_ServiceAffectsElement.**la libVirt_HostedAccessPoint.la
> libVirt_ServiceAccessBySAP.la libVirt_**SAPAvailableForElement.la
> libVirt_FilterList.la libVirt_FilterEntry.la
> libVirt_EntriesInFilterList.la libVirt_NestedFilterList.la
> libVirt_HostedFilterList.la libVirt_AppliedFilterList.la
> '/home/dpkshetty/usr/lib/cmpi'
> *libtool: install: warning: relinking `libVirt_ComputerSystem.la'*
>
> libtool: install: (cd /home/dpkshetty/work/libvirt-**cim/libvirt-cim/src;
> /bin/bash /home/dpkshetty/work/libvirt-**cim/libvirt-cim/libtool
> --silent
> --tag CC --mode=relink gcc -g -O2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -Wall -Wmissing-prototypes -Wmissing-declarations
> -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security
> -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value
> -DLIBVIRT_CIM_CS=\"**2714b9a5e842\" -DLIBVIRT_CIM_RV=\"1151\"
> -I../libxkutil ../libxkutil/libxkutil.la <
http://libxkutil.la>
>
> -version-info 5:14:5 -L/home/dpkshetty/usr/lib -lvirt -ldl
> -L/home/dpkshetty/usr/lib -lcmpiutil -L/usr/lib/i386-linux-gnu -luuid -o
> libVirt_ComputerSystem.la -rpath /home/dpkshetty/usr/lib/cmpi
> Virt_ComputerSystem.lo -lVirt_**VirtualSystemSnapshotService )
> */usr/bin/ld: cannot find -lVirt_**VirtualSystemSnapshotService*
>
> collect2: ld returned 1 exit status
> libtool: install: error: relink `libVirt_ComputerSystem.la' with the
> above command before installing it
> make[2]: *** [install-providerLTLIBRARIES] Error 1
> make[2]: Leaving directory
> `/home/dpkshetty/work/libvirt-**cim/libvirt-cim/src'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory
> `/home/dpkshetty/work/libvirt-**cim/libvirt-cim/src'
> make: *** [install-recursive] Error 1
>
>
>
> ______________________________**_________________
> Libvirt-cim mailing list
> Libvirt-cim(a)redhat.com
>
https://www.redhat.com/**mailman/listinfo/libvirt-cim<https://www.redh...
>
--
Best Regards
Wayne Xia
mail:xiawenc@linux.vnet.ibm.**com <mail%3Axiawenc(a)linux.vnet.ibm.com>
tel:86-010-82450803