[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: [libvirt-users] Installing the python libvirt bindings in a virtualenv
From:       Daniel Gonzalez <gonvaled () gonvaled ! com>
Date:       2012-04-26 14:18:53
Message-ID: CAAOi-OHZYohFaJxJjmM=h-QihA0M7E6uhgxOx95Ah_=eJ2vhbA () mail ! gmail ! com
[Download RAW message or body]

Well, my host system has python 2.6, so python2.7.dev can not be installed.
Only my virtualenv has python2.7 (compiled from source), and I have no
idea how to install debian packages to my virtualenv.

On Tue, Apr 24, 2012 at 7:35 AM, Henrik Ahlgren <pablo@seestieto.com> wrote:
> On Mon, Apr 23, 2012 at 11:56:56PM +0200, Daniel Gonzalez wrote:
>
>> But this is failing with error message:
>>
>> checking for python script directory... ${prefix}/lib/python2.7/site-packages
>> checking for python extension module directory...
>> ${exec_prefix}/lib/python2.7/site-packages
>> configure: error: You must install python-devel to build Python bindings
>>
>> python-devel does not exist. I have used python-all-dev, but it has
>> not solved the problem.
>
> In Debian and derivates, I believe the package you want to install is
> called python2.7-dev. Also, I would use the latest libvirt release
> (0.9.11) instead of 0.9.9.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic