[Libguestfs] Migrating file based Xen RHEL5.4 to KVM

Martin Jeppesen sha256sum at gmail.com
Thu May 20 16:18:17 UTC 2010


> virt-v2v -ic [...]
>
> where ... is the remote URL:
>
> http://libvirt.org/uri.html
>
> The virt-v2v man page is very helpful.

okay, I am ready to try, but having trouble with the install. Using
latest checkout from git

Is it the Perl modules that isn't being intalled along with virt-v2v?

~$ cd download/virt-v2v/
~/download/virt-v2v$ su
Password:
[root at amd virt-v2v]# perl Build.PL
Deleting _build
Creating custom builder _build/lib/Module/Build/VirtV2V.pm in
_build/lib/Module/Build
Checking whether your kit is complete...
WARNING: the following files are missing in your kit:
	ChangeLog
	META.yml
Please inform the author.

Checking prerequisites...
Looks good

Deleting Build
Removed previous script 'Build'

Creating new 'Build' script for 'virt-v2v' version '0.6.0'
[root at amd virt-v2v]# ./Build
Copying v2v/virt-v2v.pl -> blib/script/virt-v2v.pl
Deleting blib/script/virt-v2v.pl.bak
process_locale_files
make: Entering directory `/home/maj/download/virt-v2v/po'
cd .; \
	targetdir='../blib/locale'; \
	languages='es it or pl ru te uk zh_CN'; \
	for lang in $languages; do \
		mkdir -p "$targetdir/$lang/LC_MESSAGES" || exit 1; \
		dest="$targetdir/$lang/LC_MESSAGES/virt-v2v.mo"; \
		cat="$lang.mo"; \
		echo "installing $cat as $dest"; \
		cp -f $cat $dest && chmod 644 $dest || exit 1; \
	done
installing es.mo as ../blib/locale/es/LC_MESSAGES/virt-v2v.mo
installing it.mo as ../blib/locale/it/LC_MESSAGES/virt-v2v.mo
installing or.mo as ../blib/locale/or/LC_MESSAGES/virt-v2v.mo
installing pl.mo as ../blib/locale/pl/LC_MESSAGES/virt-v2v.mo
installing ru.mo as ../blib/locale/ru/LC_MESSAGES/virt-v2v.mo
installing te.mo as ../blib/locale/te/LC_MESSAGES/virt-v2v.mo
installing uk.mo as ../blib/locale/uk/LC_MESSAGES/virt-v2v.mo
installing zh_CN.mo as ../blib/locale/zh_CN/LC_MESSAGES/virt-v2v.mo
make: Leaving directory `/home/maj/download/virt-v2v/po'
Manifying blib/script/virt-v2v -> blib/bindoc/virt-v2v.1
[root at amd virt-v2v]# cd v2v/
[root at amd v2v]# ./virt-v2v.pl
Can't locate Sys/VirtV2V.pm in @INC (@INC contains:
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at ./virt-v2v.pl
line 32.
BEGIN failed--compilation aborted at ./virt-v2v.pl line 32.
[root at amd v2v]#

~$ find /usr/|grep virt-v2v
find: `/usr/lib64/audit': Permission denied
~$




More information about the Libguestfs mailing list