On Tue, May 27, 2014 at 05:36:19PM +0800, Qiang Guan wrote:
>
> ubuntu@host-192-168-0-7:~/github$ git clone
>
git://libvirt.org/libvirt-python.git
>
> ubuntu@host-192-168-0-7:~/github$ cd libvirt-python/
>
> ubuntu@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(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libvirt-users
--
------------
Jackie
Best Regards