
On Oct 17, 2009, at 3:47 PM, exarkun@twistedmatrix.com wrote:
On 04:24 pm, ziade.tarek@gmail.com wrote:
On Sat, Oct 17, 2009 at 4:49 PM, ssteinerX@gmail.com <ssteinerx@gmail.com> wrote:
precisely: python bootstrap.py && bin/buildout -c buildbot.cfg
ssteiner@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? I'm working on setting up the buildbot automatically on a cloud server and all these errors are what happen if you start from a plain-vanilla Ubuntu 9.0.4 and try to just bootstrap the distutils buildbot. S