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

Qiang Guan hzguanqiang at corp.netease.com
Wed May 28 02:43:27 UTC 2014


You are right, thanks~

于 2014年05月27日 20:01, Martin Kletzander 写道:
> On Tue, May 27, 2014 at 05:36:19PM +0800, Qiang Guan wrote:
>>
>> 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?
>>
>
> You probably need libvirt-dev(el) package installed.
>
>> -- 
>> ------------
>> Jackie
>> Best Regards
>>
>>
>> _______________________________________________
>> libvirt-users mailing list
>> libvirt-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvirt-users
>
> -- 
> ------------
> Jackie
> Best Regards




More information about the libvirt-users mailing list