The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

20111007

buildbot install error: twisted/runner/portmap.c:10:20: fatal error: Python.h: No such file or directory compilation terminated


i tried installing buildbot on ubuntu while following this tutorial:
http://buildbot.net/buildbot/docs/current/tutorial/firstrun.html

[
FYI:
in ubuntu, there's no package called virtualenv. you need to install the python-virtualenv package:
sudo apt-get install python-virtualenv
]

while trying to install buildbot i got the following error:
Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-11.0.0.tar.bz2#md5=d7f94a1609a1b8f3b8c8d0146d4cfe54
Processing Twisted-11.0.0.tar.bz2
Running Twisted-11.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4wBTit/Twisted-11.0.0/egg-dist-tmp-odVQeg
twisted/runner/portmap.c:10:20: fatal error: Python.h: No such file or directorycompilation terminated.error: Setup script exited with error: command 'gcc' failed with exit status 1
to fix this i had to install the python-dev package:
sudo apt-get install python-dev

then rerun the last install command:
easy_install buildbot

src: http://alexsleat.co.uk/2011/01/01/fatal-error-python-h-no-such-file-or-directory/

1 comment: