Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... What action do you advice me to get a clean install ? Thanks Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -----Message d'origine----- De : Richard W.M. Jones [mailto:rjones@redhat.com] Envoyé : dimanche 28 septembre 2014 21:35 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Oh I see. It looks like you've got a self-compiled copy of supermin & libguestfs in /usr/local, which is the one which is running. libguestfs-winsupport only works to add NTFS support to the normal installed packages that we build, ie. the ones here: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html You'll probably have to nuke all traces of the version in /usr/local, otherwise nothing will really work. As a general rule of thumb, never use 'make install' with libguestfs as you'll just end up with two copies installed which will conflict with each other like this. If you want to build from source, then run the second copy from the build directory using the `./run' script in the top-level [see README], and that'll be fine. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
On Sun, Sep 28, 2014 at 08:05:54PM +0000, VONDRA Alain wrote:> Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? > I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... > What action do you advice me to get a clean install ?I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Ok, I've removed all the files relating to libguestfs in /usr/local/, but the error message is still the same. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -----Message d'origine----- De : Richard W.M. Jones [mailto:rjones@redhat.com] Envoyé : dimanche 28 septembre 2014 22:25 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sun, Sep 28, 2014 at 08:05:54PM +0000, VONDRA Alain wrote:> Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? > I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... > What action do you advice me to get a clean install ?I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html