Richard W.M. Jones
2009-Jul-24 16:51 UTC
[Libguestfs] Re: error when compiling libguestfs on Ubuntu 9.04
On Sat, Jul 25, 2009 at 01:28:29AM +0900, Jun Koi wrote:> hi Richard, > > i am trying libguestfs 1.0.64, and have below errors at "make" step: > > make[2]: Entering directory > `/home/quynh/projects/libguestfs/libguestfs-1.0.64/appliance' > mv initramfs.fedora-11.i686.img initramfs.fedora-11.i686.img.bak > mv: cannot stat `initramfs.fedora-11.i686.img': No such file or directory > make[2]: [../initramfs/fakeroot.log] Error 1 (ignored) > mv vmlinuz.fedora-11.i686 vmlinuz.fedora-11.i686.bak > mv: cannot stat `vmlinuz.fedora-11.i686': No such file or directory > make[2]: [../initramfs/fakeroot.log] Error 1 (ignored) > if ! bash make.sh; then rm -f ../initramfs/fakeroot.log; exit 1; fi > + '[' DEBIAN = REDHAT ']' > + '[' DEBIAN = DEBIAN ']' > + cd ../appliance > + debirf make -n debian > Loading profile 'debian'... > Cannot read keyring '/usr/share/keyrings/debian-archive-keyring.gpg' > for debootstrap verification. > make[2]: *** [../initramfs/fakeroot.log] Error 1 > make[2]: Leaving directory > `/home/quynh/projects/libguestfs/libguestfs-1.0.64/appliance' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/quynh/projects/libguestfs/libguestfs-1.0.64' > make: *** [all] Error 2 > > > It is on Ubuntu 9.04. > > How can I fix this problem?By asking Guido :-) It looks like it needs a few small fixes to paths for Ubuntu. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 75 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
Guido Günther
2009-Jul-24 17:39 UTC
[Libguestfs] Re: error when compiling libguestfs on Ubuntu 9.04
On Fri, Jul 24, 2009 at 05:51:21PM +0100, Richard W.M. Jones wrote:> On Sat, Jul 25, 2009 at 01:28:29AM +0900, Jun Koi wrote: > > hi Richard, > > > > i am trying libguestfs 1.0.64, and have below errors at "make" step: > > > > make[2]: Entering directory > > `/home/quynh/projects/libguestfs/libguestfs-1.0.64/appliance' > > mv initramfs.fedora-11.i686.img initramfs.fedora-11.i686.img.bak > > mv: cannot stat `initramfs.fedora-11.i686.img': No such file or directory > > make[2]: [../initramfs/fakeroot.log] Error 1 (ignored) > > mv vmlinuz.fedora-11.i686 vmlinuz.fedora-11.i686.bak > > mv: cannot stat `vmlinuz.fedora-11.i686': No such file or directory > > make[2]: [../initramfs/fakeroot.log] Error 1 (ignored) > > if ! bash make.sh; then rm -f ../initramfs/fakeroot.log; exit 1; fi > > + '[' DEBIAN = REDHAT ']' > > + '[' DEBIAN = DEBIAN ']' > > + cd ../appliance > > + debirf make -n debian > > Loading profile 'debian'... > > Cannot read keyring '/usr/share/keyrings/debian-archive-keyring.gpg'Install debian-archive-keyring: http://packages.debian.org/sid/debian-archive-keyring Debirf wants to pass it to debootstrap for verification. The other possibility is to try to build an Ubuntu based appliance instead of a Debian based one with: /configure --with-repo=karmic --with-mirror=<your_ubuntu_mirror> Cheers, -- Guido