Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3760041
  • 博文数量: 880
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 6155
  • 用 户 组: 普通用户
  • 注册时间: 2016-11-11 09:12
个人简介

To be a better coder

文章分类

全部博文(880)

文章存档

2022年(5)

2021年(60)

2020年(175)

2019年(207)

2018年(210)

2017年(142)

2016年(81)

分类: LINUX

2020-04-13 14:43:15

http://blog.sina.com.cn/s/blog_896b31c701013qc2.html

(1)
checking libxml2 xml2-config >= 2.6.0 ... configure: error: Could not find libxml2 anywhere (see config.log for details).

#apt-cache search libxml2
# apt-get install libxml++2.6-2
# apt-get install libxml++2.6-dev
(2) 
configure: error: You must install the GnuTLS library in order to compile and run libvirt
 
# apt-get install gnutls-bin(可省)
#  apt-get install libgnutls-dev
 (3)
configure: error: You must install device-mapper-devel/libdevmapper >= 1.0.0 to compile libvirt
# apt-get install libdevmapper-dev libdevmapper
 (4)
configure: error: libnl-devel >= 1.1 is required for macvtap support
# apt-get install libnl-dev
 (5)
# ./configure --prefix=/usr --libdir=/usr/lib64 --localstatedir=/var --sysconfdir=/etc --with-hal=yes --with-udev=yes
checking for UDEV... no
configure: error: You must install libudev-devel >= 145 to compile libvirt
# apt-cache search libudev-dev
libudev-dev - libudev development files
# apt-get install libudev-dev
 (6)
configure: error: You must install libpciaccess-devel >= 0.10.0 to compile libvirt
# apt-cache search libpciaccess-dev
libpciaccess-dev - Generic PCI access library for X - development files
# apt-get install libpciaccess-dev
  (7)
 configure: error: You must install python-devel to build Python bindings

sudo apt-get install python-dev
注:有时依然不能用virsh nodedev-dumpxml pci_0000_00_19_0
#./configure --prefix=/usr --libdir=/usr/lib64 --localstatedir=/var --sysconfdir=/etc --with-hal=yes --with-udev=yes --with-polkit=yes
....
checking for POLKIT... no
configure: error: You must install PolicyKit >= 0.6 to compile libvirt
# apt-get install libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpolkit-gtk-1-0
阅读(1838) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~