[libvirt] make rpm does not work

Eric Blake eblake at redhat.com
Tue Aug 28 21:30:54 UTC 2012


On 08/28/2012 02:22 PM, Gautam Sampathkumar wrote:
> Hi All,
> 
>     I built libvirt on centos 6.2 and the configure and make steps went

Which version?  libvirt.git, or an earlier tarball?

> through successfully. I did try a make rpm which fails with the error: cp:
> cannot stat `./404.html': No such file or directory.

Do you have all the proper BuildRequires installed?  Was this a tarball
you built yourself from libvirt.git, or one of the release tarballs?  I
just tested 'make dist' of libvirt.git, and verified that the file
docs/404.html was included in that tarball; so my guess is that perhaps
you don't have xsltproc installed and that your self-built tarball was
therefore incomplete.  'make rpm' works by self-building a tarball with
'make dist', then using the spec file within that tarball to build the
rpms; but if you don't have all the tools installed, then the
intermediate tarball would be incomplete.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120828/5b1eb8b5/attachment-0001.sig>


More information about the libvir-list mailing list