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=d7f94a1609a1b8f3b8c8d0146d4cfe54to fix this i had to install the python-dev package:
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
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/
Thanks! Solved my issue.
ReplyDelete