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

Yufang Zhang yuzhang at redhat.com
Tue Apr 20 10:03:12 UTC 2010


On 04/20/2010 03:58 PM, Richard W.M. Jones wrote:
> 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.
>
>    
initramfs directory does exist:
# ls initramfs
bin  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  sbin  
selinux  srv  sys  sysroot  tmp  usr  var

And attachment is the structure of this directory.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: initramfs.files
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20100420/118ea0e2/attachment.ksh>


More information about the Libguestfs mailing list