arnaud gaboury
2014-Aug-11 16:12 UTC
Re: [Libguestfs] issue when building/making package from git
> > Does p2v/virt-p2v (binary) exist? >NO> > Now I want to install it properly on my machine. Arch use a makepkg > > [1] command to build and install packages not in the official repos. > > > > When running > > $ makepkg > > I have this structure which sounds correct: > > libguestfs-git/pkg/ > > libguestfs-git/src/AllNeededDir_cloned_here > > > > but at one time the build breaks with these errors: > > ----------------------------- > > ../src/.libs/libutils.a( > > libutils_la-cleanup.o): In function `guestfs___cleanup_xmlBufferFree': > > cleanup.c:(.text+0x79): undefined reference to `xmlBufferFree' > > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function > > `guestfs___cleanup_xmlFreeDoc': > > cleanup.c:(.text+0x99): undefined reference to `xmlFreeDoc' > > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function > > `guestfs___cleanup_xmlFreeURI': > > cleanup.c:(.text+0xb9): undefined reference to `xmlFreeURI' > > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function > > `guestfs___cleanup_xmlFreeTextWriter': > > cleanup.c:(.text+0xd9): undefined reference to `xmlFreeTextWriter' > > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function > > `guestfs___cleanup_xmlXPathFreeContext': > > cleanup.c:(.text+0xf9): undefined reference to `xmlXPathFreeContext' > > ../src/.libs/libutils.a(libutils_la-cleanup.o): In function > > `guestfs___cleanup_xmlXPathFreeObject': > > cleanup.c:(.text+0x119): undefined reference to `xmlXPathFreeObject' > > collect2: error: ld returned 1 exit status > > Makefile:1598: recipe for target 'virt-p2v' failed > > The error seems to be libxml2 missing. Now it builds OK using just a > plain build, but not from makepkg.No, libxml2-2.1-5 is installed> > Can you get makepkg to add `V=1' flag to make, ie: > > make V=1 > > That should print the full compile/link commands.I will do shortly
arnaud gaboury
2014-Aug-11 16:14 UTC
Re: [Libguestfs] issue when building/making package from git
> No, libxml2-2.1-5 is installedSorry for typo : 2.9.1-5
arnaud gaboury
2014-Aug-11 16:29 UTC
Re: [Libguestfs] issue when building/making package from git
Patch applied. ------- ==> Creating package "libguestfs-git"... -> Generating .PKGINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: libguestfs-git 1.27.25.12.gbbae613-1 (Mon Aug 11 18:24:54 CEST 2014) ---------------------- martinus@gerbillous ➤➤ ~aur/libguestfs-git % ls -al src/libguestfs/v2v | grep virt-v2v 41:-rw-r--r-- 1 martinus martinus 0 Aug 11 18:24 stamp-virt-v2v.pod 71:-rwxr-xr-x 1 martinus martinus 2.3M Aug 11 18:24 virt-v2v* 72:-rw-r--r-- 1 martinus martinus 19K Aug 11 18:24 virt-v2v.1 75:-rw-r--r-- 1 martinus martinus 13K Aug 11 18:19 virt-v2v.pod ------------------------------------------------------------- A big thank you. Now, let's start to learn the command. I am virtualizing a w8 partition using libvirt qemu/kvm and would like to create a virtual image from physical partition.
Possibly Parallel Threads
- another missing link in febootstrap; failing tests for libguestfs
- libguestfs-1.0.85-1.el5.5 - seems no KVM acceleration support included
- Re: issue when building/making package from git
- virt-install: failed to initialize KVM: Permission denied
- Control multi-threading in standard matrix product