<div dir="ltr"><p dir="ltr"><br>
><br>
> Does p2v/virt-p2v (binary) exist?<br>
><br>
</p><p>NO<br></p>
<p dir="ltr">> > Now I want to install it properly on my machine. Arch use a makepkg<br>
> > [1] command to build and install packages not in the official repos.<br>
> ><br>
> > When running<br>
> > $ makepkg<br>
> > I have this structure which sounds correct:<br>
> > libguestfs-git/pkg/<br>
> > libguestfs-git/src/AllNeededDir_cloned_here<br>
> ><br>
> > but at one time the build breaks with these errors:<br>
> > -----------------------------<br>
> > ../src/.libs/libutils.a(<br>
> > libutils_la-cleanup.o): In function `guestfs___cleanup_xmlBufferFree':<br>
> > cleanup.c:(.text+0x79): undefined reference to `xmlBufferFree'<br>
> > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function<br>
> > `guestfs___cleanup_xmlFreeDoc':<br>
> > cleanup.c:(.text+0x99): undefined reference to `xmlFreeDoc'<br>
> > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function<br>
> > `guestfs___cleanup_xmlFreeURI':<br>
> > cleanup.c:(.text+0xb9): undefined reference to `xmlFreeURI'<br>
> > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function<br>
> > `guestfs___cleanup_xmlFreeTextWriter':<br>
> > cleanup.c:(.text+0xd9): undefined reference to `xmlFreeTextWriter'<br>
> > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function<br>
> > `guestfs___cleanup_xmlXPathFreeContext':<br>
> > cleanup.c:(.text+0xf9): undefined reference to `xmlXPathFreeContext'<br>
> > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function<br>
> > `guestfs___cleanup_xmlXPathFreeObject':<br>
> > cleanup.c:(.text+0x119): undefined reference to `xmlXPathFreeObject'<br>
> > collect2: error: ld returned 1 exit status<br>
> > Makefile:1598: recipe for target 'virt-p2v' failed<br>
><br>
> The error seems to be libxml2 missing. Now it builds OK using just a<br>
> plain build, but not from makepkg.</p><p>No, libxml2-2.1-5 is installed<br></p><p dir="ltr">
><br>
> Can you get makepkg to add `V=1' flag to make, ie:<br>
><br>
> make V=1<br>
><br>
> That should print the full compile/link commands.</p><p dir="ltr"><br></p><p>I will do shortly<br></p><p dir="ltr">
<br>
</p>
</div>