I am unable to install or build libvert for RHEL4-64. Due to the errors below. Is it because all the source/rpms are for Fedora? I don't see any redhat versions on the sources page. Thanks in advance for any help. When running make against the untarred /libvirt-0.9.4.tar.gz configure succeeds but make fails. make all-am make[3]: Entering directory `/home/jgaer/Desktop/NiFi/libvirt-0.9.4/src' CC libvirt_driver_nwfilter_la-nwfilter_learnipaddr.lo nwfilter/nwfilter_learnipaddr.c: In function 'learnIPAddressThread': nwfilter/nwfilter_learnipaddr.c:522: error: 'ETHERTYPE_VLAN' undeclared (first use in this function) nwfilter/nwfilter_learnipaddr.c:522: error: (Each undeclared identifier is reported only once nwfilter/nwfilter_learnipaddr.c:522: error: for each function it appears in.) installing the src rpm fails jgaer at ljgaer_~/Desktop/NiFi: sudo rpm -i libvirt-0.9.0-1.fc14.src.rpm [sudo] password for jgaer: warning: libvirt-0.9.0-1.fc14.src.rpm: Header V3 DSA signature: NOKEY, key ID de95bc1f warning: user veillard does not exist - using root warning: group www does not exist - using root error: unpacking of archive failed on file /usr/src/redhat/SOURCES/libvirt-0.9.0.tar.gz;4ebd4829: cpio: MD5 sum mismatch when trying to install rpm -i libvirt-0.9.7-1.fc14.x86_64.rpm even with ?force I get a long list of unresolved dependencies including all previous versions of libvirt.so Trying to use rpmbuild results in the following missing dependancies. I am unable to build or install the libpcap-devel because of a dependency on libcap1 which seems to only exist for suse, jgaer at ljgaer_~/Desktop/NiFi: sudo rpmbuild -ta libvirt-0.9.4.tar.gz [sudo] password for jgaer: error: Failed build dependencies: libtasn1-devel is needed by libvirt-0.9.4-1.x86_64 libpcap-devel is needed by libvirt-0.9.4-1.x86_64 libnl-devel is needed by libvirt-0.9.4-1.x86_64 radvd is needed by libvirt-0.9.4-1.x86_64 ebtables is needed by libvirt-0.9.4-1.x86_64 /usr/bin/qemu-img is needed by libvirt-0.9.4-1.x86_64 parted-devel is needed by libvirt-0.9.4-1.x86_64 device-mapper-devel is needed by libvirt-0.9.4-1.x86_64 numactl-devel is needed by libvirt-0.9.4-1.x86_64 libssh2-devel is needed by libvirt-0.9.4-1.x86_64 Jeff
Eric Blake
2011-Nov-11 18:17 UTC
[libvirt-users] diificulty installing or building libvert
On 11/11/2011 09:29 AM, Jeff Gaer wrote:> I am unable to install or build libvert for RHEL4-64. Due to the errors below. Is it because all the source/rpms are for Fedora? I don't see any redhat versions on the sources page. Thanks in advance for any help.libvirt is not supported as an rpm for RHEL 4 (it is maintained for RHEL 5, although these days most development appears to be focused on RHEL 6).> When running make against the untarred /libvirt-0.9.4.tar.gz configure succeeds but make fails. > > make all-am > > make[3]: Entering directory `/home/jgaer/Desktop/NiFi/libvirt-0.9.4/src' > CC libvirt_driver_nwfilter_la-nwfilter_learnipaddr.lo > nwfilter/nwfilter_learnipaddr.c: In function 'learnIPAddressThread': > nwfilter/nwfilter_learnipaddr.c:522: error: 'ETHERTYPE_VLAN' undeclared (first use in this function) > nwfilter/nwfilter_learnipaddr.c:522: error: (Each undeclared identifier is reported only once > nwfilter/nwfilter_learnipaddr.c:522: error: for each function it appears in.)That means that you'll have to do some back-porting work yourself, since no one else on this list has tried to build for something as old as RHEL 4. Sorry I couldn't be of more help. -- Eric Blake eblake at redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111111/8ce76a6d/attachment.sig>