[Libguestfs] Error when compile libguestfs from source in Fedora-12

Richard W.M. Jones rjones at redhat.com
Tue Apr 20 07:58:28 UTC 2010


On Tue, Apr 20, 2010 at 02:59:23PM +0800, Yufang Zhang wrote:
> Hi all,
> I am trying to compile libguestfs from source in Fedora12, but failed  
> with such error:

It's not clear, but are you trying to compile from the SRPM?  If
so then you must add the following line to your ~/.rpmmacros file:

  %libguestfs_buildnet   1

See the top of the spec file for an explanation.

If that's not the case, then make sure you have the latest
febootstrap, and make sure you are building --with-repo set to the
same name as the build host (eg. if --with-repo=fedora-12, then the
build host must be Fedora 12 too).

Does the initramfs directory exist?  What's in it?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list