[libvirt] libvirt.py

Matthias Bolte matthias.bolte at googlemail.com
Sun Sep 27 17:20:34 UTC 2009


2009/9/27 Fred Leeflang <fredl at dutchie.org>:
> Hello,
>
> Just getting started on this and checked out the source from git. Ran
> autogen.sh, configure, make, make install and it doesn't seem to
> automatically install libvirt.py. The generated Makefile in python/ has
> these lines commented out:
>
> #GENERATED = libvirt-export.c \
> #          libvirt.c \
> #          libvirt.h \
> #          libvirt.py
>
> Am I perhaps missing some python_includes? From what I can tell,
> WITH_PYTHON_TRUE only gets set to # if some includes are not there. I'm
> trying to build this on Debian Lenny with Python 2.5.2
>

Have you installed the development package for Python: python-dev

The configure script skips the Python bindings if it can't find the
Python C API header files.

Matthias




More information about the libvir-list mailing list