How to build libvirt installation environment on ARM64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

 

         The libvirt can be used for ARM64? If it can be used for ARM64, what resources are needed for setup ?

How to build libvirt installation environment on ARM64?

 

I got some resource as follow:

1.ARM64 hardware is based Cortex-A57 fastmodel

2.Host and Guest kernel is linux 3.13.0

3.ARM64 filesystem from linaro releases (http://releases.linaro.org/latest/openembedded/aarch64/)

4.Qemu 1.6.50

5.Libvirt-1.2.0

 

My configure shell as follow

export PKG_CONFIG=/usr/local/bin/pkg-config

export PKG_CONFIG_SYSROOT_DIR=/home/aarch64

export PKG_CONFIG_PATH=/home/aarch64/usr/lib/pkgconfig

./configure  --target=aarch64 \

           --prefix=/home/chenq/libvirt/install \

           --host=aarch64-linux-gnu \

           --libdir=/home/aarch64

           CC=aarch64-linux-gnu-gcc \

           LIBXML_CFLAGS="/home/aarch64/usr/lib"

           CFLAGS="/home/aarch64/usr/include/libfdt"

           LDFLAGS="/home/aarch64/lib"

 

Then configure error as follow

checking for DEVMAPPER... no

checking for dm_task_run in -ldevmapper... no

checking libdevmapper.h usability... no

checking libdevmapper.h presence... no

checking for libdevmapper.h... no

configure: error: You must install device-mapper-devel/libdevmapper >= 1.0.0 to compile libvirt

 

I think this only one error is found. The libvirt depends on a lot of other libs,it will be find more similar errors.

So, how to create a friendly environment to compile and install libvirt on ARM64 ?

 

Thanks,

--Kuhn

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]