Last active
October 10, 2021 23:46
-
-
Save sandlbn/997d9b08406128914cce to your computer and use it in GitHub Desktop.
How to compile libvirt on ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install git build-essential xsltproc libxml-xpath-perl libyajl-dev libdevmapper-dev libpciaccess-dev libnl-dev systemtap-sdt-dev uuid-dev libtool autoconf pkg-config libxml2 libxml2-utils autopoint python-dev libnuma-dev gettext | |
git clone https://github.com/K1773R/numad.git | |
cd numad | |
make | |
sudo make install | |
cd ..; cd libvirt | |
git clone git://libvirt.org/libvirt.git | |
./autogen.sh | |
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-qemu=yes --with-dtrace --with-numad --with-storage-rbd --disable-nls |
@jshen8 you will need to run autogen.sh before. It will create the configure.sh file.
I am afraid it does not work because autogen.sh always complains current fold does not have .git ....
By the way do you know where I can find a ubuntu repo of libvirt 6.0.0?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, how to build from a tarball? I follow the official doc but seems there is no
configure
executable out of the box...