[Libvir] Compiling libvirt v0.3.2 on centos5

Richard W.M. Jones rjones at redhat.com
Tue Sep 4 11:17:13 UTC 2007


I've installed a fresh CentOS 5.0 (x86-64) and did:

(1) Create ~/.rpmmacros & ~/rpm directory structure as described in 
Dan's email.

(2) yum install rpm-build rpm-devel python-devel xen-devel \
        libxml2-devel readline-devel ncurses-devel gnutls-devel \
        gcc

(3) wget ftp://libvirt.org/libvirt/libvirt-0.3.2-1.src.rpm

(4) rpm -i libvirt-0.3.2-1.src.rpm  [NB: NOT as root]

(5) cd ~/rpm/SPECS; rpmbuild -ba libvirt.spec  [NB: also NOT as root]

and it rpmbuilds just fine.  So I suspect that your problem was because 
you were trying to rpmbuild as root, which as mentioned before is 
dangerous anyway.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070904/b3600cfa/attachment-0001.bin>


More information about the libvir-list mailing list