咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
从libvirt官网,下载libvirt的源码
wget http://www.landui.com/sources/libvirt-1.0.3.tar.gz
解压后,运行
./autogen.sh --system --enable-compile-warnings=error
有错,提示:
./bootstrap: Error: 'python-config' not found
安装python开发包:yum install python-dev
再次运行
./autogen.sh --system --enable-compile-warnings=error
有错,提示:
checking libxml2 xml2-config >= 2.6.0 ... configure: error: Could not find libxml2 anywhere (see config.log for details).
同理,安装以下的软件包:
libxml2-devel device-mapper-devel libpciaccess-devel libnl-devel
安装完成