[Distutils] Buildbot throwing a gear after default setup?

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sun Oct 18 17:26:55 CEST 2009


On 17 Oct, 11:26 pm, ssteinerx at gmail.com wrote:
>
>On Oct 17, 2009, at 3:47 PM, exarkun at twistedmatrix.com wrote:
>>On 04:24 pm, ziade.tarek at gmail.com wrote:
>>>On Sat, Oct 17, 2009 at 4:49 PM, ssteinerX at gmail.com
>>><ssteinerx at gmail.com> wrote:
>>>>>
>>>>>precisely:
>>>>>python bootstrap.py && bin/buildout -c buildbot.cfg
>>>>
>>>>ssteiner at ubuntu:~/distutils-builbot$ python bootstrap.py && bin/ 
>>>>buildout -c
>>>>buildbot.cfg
>>>>Downloading
>>>>http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg
>>>>Getting distribution for 'Twisted'.
>>>>twisted/runner/portmap.c:10:20: error: Python.h: No such file or 
>>>>directory
>>>
>>>Buildbot needs Twisted, so it needs the 'python-dev' to compile on 
>>>ubuntu.
>>>
>>>$ apt-get install python-dev
>>>$ apt-get install build-essentials
>>>(should be enough)
>>
>>Almost all of Twisted's extension modules are optional (and portmap 
>>is hardly useful, I doubt anyone would miss it if it were gone). 
>>This failure reminds me that it would be nice if distutils had a way 
>>to express this.
>
>So, is this something I have to install in addition to the way 
>Twisted's being installed now?

portmap?  No, it's an extension module that's part of Twisted.  Once you 
have python-dev installed it should be okay.

Jean-Paul


More information about the Distutils-SIG mailing list