On 06/26/2014 03:38 AM, Daniel P. Berrange wrote:
>
> Now all I have to do is run 'python setup.py build' to build against
> installed libvirt, vs. 'make' to build against development libvirt, at
> least for my machine.
It occurs to me that if we edit the 'run' script in libvirt GIT to
set that PKG_CONFIG_PATH setting, then you could build and test the
python bindings by doing
/home/eblake/libvirt/run python setup.py build
Or in your case with the make wrapper
/home/eblake/libvirt/run make
Nice; I'll post a followup patch to document that (it fits well with the
run script being able to do anything else that favors the uninstalled
libvirt).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org