[libvirt-users] How to build and install python-libvirt

Qiang Guan hzguanqiang at corp.netease.com
Tue May 27 09:36:19 UTC 2014


ubuntu at host-192-168-0-7:~/github$ git clone
git://libvirt.org/libvirt-python.git

ubuntu at host-192-168-0-7:~/github$ cd libvirt-python/

ubuntu at host-192-168-0-7:~/github/libvirt-python$ python setup.py build
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
running build
/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
error: command '/usr/bin/pkg-config' failed with exit status 1

What's the problem?

-- 
------------
Jackie
Best Regards





More information about the libvirt-users mailing list