[libvirt-users] libvirt-lxc driver on armv7l

Hi there, I'm interested in using libvirt-lxc on armv7l architecture and I have a hard time building libvirt. 1. Are there any prebuild rpms for ARM? 2. I have many dependency issues during build: error: *** Error Summary *** === the following packages failed to build due to missing build dependencies === libvirt: nothing provides hal-devel nothing provides libnl-devel nothing provides libselinux-devel nothing provides radvd nothing provides ebtables nothing provides cyrus-sasl-devel nothing provides /usr/bin/qemu-img nothing provides lvm2 nothing provides iscsi-initiator-utils nothing provides parted-devel nothing provides device-mapper-devel nothing provides libssh2-devel >= 1.3.0 nothing provides libwsman-devel >= 2.2.3 nothing provides nfs-utils nothing provides scrub Where do I define the flags that discard some of the libraries (for example "--without-hal")? Thanks! Jan

On Wed, Oct 30, 2013 at 07:38:01PM +0100, Jan Olszak wrote:
Hi there,
I'm interested in using libvirt-lxc on armv7l architecture and I have a hard time building libvirt.
1. Are there any prebuild rpms for ARM?
2. I have many dependency issues during build:
error: *** Error Summary ***
=== the following packages failed to build due to missing build dependencies ===
libvirt:
...snip list of RPMs... You don't mention what distro you're building with. Fedora has all the pre-requisite RPMs you mention here, and also has libvirt itself built for armv7l. If you want to rebuild newer libvirt on Fedora, then 'yum-builddep libvirt' is the way to get all build-deps installed to start off. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

Oh, sorry. I try to build libvirt on Tizen, with gbs. Unfortunately Tizen doesn't have the packages from the "snip list of rpms":) I tried to install dependencies from http://ftp.pbone.net/pub/fedora/linux/development/20/armhfp/os/Packages/ but that just doesn't work... Thanks! Jan -----Original Message----- From: Daniel P. Berrange [mailto:berrange@redhat.com] Sent: Wednesday, October 30, 2013 8:13 PM To: Jan Olszak Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] libvirt-lxc driver on armv7l On Wed, Oct 30, 2013 at 07:38:01PM +0100, Jan Olszak wrote:
Hi there,
I'm interested in using libvirt-lxc on armv7l architecture and I have a hard time building libvirt.
1. Are there any prebuild rpms for ARM?
2. I have many dependency issues during build:
error: *** Error Summary ***
=== the following packages failed to build due to missing build dependencies ===
libvirt:
...snip list of RPMs... You don't mention what distro you're building with. Fedora has all the pre-requisite RPMs you mention here, and also has libvirt itself built for armv7l. If you want to rebuild newer libvirt on Fedora, then 'yum-builddep libvirt' is the way to get all build-deps installed to start off. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Thu, Oct 31, 2013 at 03:55:54PM +0100, Jan Olszak wrote:
Oh, sorry. I try to build libvirt on Tizen, with gbs. Unfortunately Tizen doesn't have the packages from the "snip list of rpms":)
I tried to install dependencies from http://ftp.pbone.net/pub/fedora/linux/development/20/armhfp/os/Packages/ but that just doesn't work...
AFAIK, Tizen is not binary compatible with Fedora, so just reusing Fedora RPMs won't work. Either you'll have to rebuild the source RPMs for your distro, or edit your libvirt build options to remove the dependancies that you don't have access to. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (2)
-
Daniel P. Berrange
-
Jan Olszak