Anyone using Sys::Virt CPAN Perl Module with Libvirt?
I am unable to install Sys::Virt using cpan, Sys::Virt cannot find Libvirt, even though I
have it installed.
I tried setting LD_LIBRARY_PATH and also PKG_CONFIG_PATH to point to Libvirt, and in both
case Sys::Virt was not able to find Libvirt.
During installation Sys::Virt times out with :
Sys-Virt-0.9.4/INSTALL
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build D/DA/DANBERR/Sys-Virt-0.9.4.tar.gz
libvirt >= 0.9.4 is required
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
DANBERR/Sys-Virt-0.9.4.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read '/root/.cpan/build/Sys-Virt-0.9.4-DiRtOZ/META.yml'. Falling back to
other methods to determine prerequisites
Failed during this command:
DANBERR/Sys-Virt-0.9.4.tar.gz : writemakefile NO '/usr/bin/perl
Makefile.PL INSTALLDIRS=site' returned status 256
I have tried with both Libvirt 0.9.11 and Sys::Virt 0.9.11 in addition to Libvirt 0.9.4
with Sys::Virt 0.9.4.
Thanks