[Libguestfs] Unable to build appliance

Sean McAfee eefacm at gmail.com
Fri Jun 3 23:28:30 UTC 2011

On Fri, Jun 3, 2011 at 3:47 PM, Sean McAfee <eefacm at gmail.com> wrote:

> Now I'm trying to build libguestfs-1.4.6, but I get a completely different
> error:
> ...
> mkdir -p ../perl/lib/Sys
> mkdir -p ../ruby/ext/guestfs
> mkdir -p ../java/com/redhat/et/libguestfs
> mkdir -p ../csharp
> cd .. && ocaml -warn-error A src/generator.ml
> Cannot find file xml-light.cma.
> File "src/generator.ml", line 11819, characters 4-53:
> Unbound constructor Xml.Element
> make[3]: *** [stamp-generator] Error 2

OK, I was able to solve this by installing the package
libxml-light-ocaml-dev.  Now I get a little further, but eventually the
build stops again with this error:

+ febootstrap -i augeas-libs -i btrfs-progs -i diffutils -i e2fsprogs -i
e4fsprogs -i gfs-utils -i gfs2-utils -i hfsplus-tools -i iputils -i kernel
-i MAKEDEV -i nilfs-utils -i ntfsprogs -i ntfs-3g -i reiserfs-utils -i
libselinux -i udev -i util-linux-ng -i vim-minimal -i xz -i zfs-fuse -i bash
-i binutils -i coreutils -i dosfstools -i file -i grub -i jfsutils -i lsof
-i lvm2 -i module-init-tools -i net-tools -i parted -i procps -i scrub -i
strace -i xfsprogs -i zerofree -u updates-released-f12 fedora-13 initramfs
Warning, could not load sqlite, falling back to pickle

Error getting repository data for febootstrap,febootstrap-updates,
repository not found
chroot: cannot run command `rm': No such file or directory
chroot: cannot run command `rm': No such file or directory
make[2]: *** [../initramfs/fakeroot.log] Error 1
make[2]: Leaving directory `/tmp/libguestfs-1.4.6/appliance'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libguestfs-1.4.6'
make: *** [all] Error 2

Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20110603/d73554f9/attachment.htm>

More information about the Libguestfs mailing list