Yufang Zhang
2010-Apr-20 06:59 UTC
[Libguestfs] Error when compile libguestfs from source in Fedora-12
Hi all, I am trying to compile libguestfs from source in Fedora12, but failed with such error: cp: cannot stat `initramfs/fakeroot.log': No such file or directory make[2]: *** [../initramfs/fakeroot.log] Error 1 make[2]: Leaving directory `/home/yufang/Code/libguestfs/appliance' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/yufang/Code/libguestfs' make: *** [all] Error 2 I have installed all required packages listed in http://cvs.fedoraproject.org/viewvc/devel/libguestfs/libguestfs.spec?view=markup but still cannot find the reason. Could anybody do me a favour to have a look at this issue? config.log and output of make(make.log) are uploaded in the attachment to track problems. Thanks. --Yufang -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: config.log URL: <http://listman.redhat.com/archives/libguestfs/attachments/20100420/31b48501/attachment.log> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make.log URL: <http://listman.redhat.com/archives/libguestfs/attachments/20100420/31b48501/attachment-0001.log>
Richard W.M. Jones
2010-Apr-20 07:58 UTC
[Libguestfs] Error when compile libguestfs from source in Fedora-12
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