Hello<br><br>I would like to contribute to the tahoe project, particularly i'm looking at volunteer grid 2. I have a spare machine with a reasonable chunk of spare disc capacity and a solid 20Mb unlimited upload link. I've downloaded and extracted the zip package and executed "python setup.py build" however I receive an error (stack trace included).<br>

<br>I'm running on debian linux with python 2.6<br><br>I'm running the setup script from within a sub directory in my users home directory.<br><br>Any help is appriciated.<br><br>$ python -v<br># installing zipimport hook<br>

import zipimport # builtin<br># installed zipimport hook<br># /usr/lib/python2.6/site.pyc matches /usr/lib/python2.6/site.py<br>import site # precompiled from /usr/lib/python2.6/site.pyc<br># /usr/lib/python2.6/os.pyc matches /usr/lib/python2.6/os.py<br>

import os # precompiled from /usr/lib/python2.6/os.pyc<br>import errno # builtin<br>import posix # builtin<br># /usr/lib/python2.6/posixpath.pyc matches /usr/lib/python2.6/posixpath.py<br>import posixpath # precompiled from /usr/lib/python2.6/posixpath.pyc<br>

# /usr/lib/python2.6/stat.pyc matches /usr/lib/python2.6/stat.py<br>import stat # precompiled from /usr/lib/python2.6/stat.pyc<br># /usr/lib/python2.6/genericpath.pyc matches /usr/lib/python2.6/genericpath.py<br>import genericpath # precompiled from /usr/lib/python2.6/genericpath.pyc<br>

# /usr/lib/python2.6/warnings.pyc matches /usr/lib/python2.6/warnings.py<br>import warnings # precompiled from /usr/lib/python2.6/warnings.pyc<br># /usr/lib/python2.6/linecache.pyc matches /usr/lib/python2.6/linecache.py<br>

import linecache # precompiled from /usr/lib/python2.6/linecache.pyc<br># /usr/lib/python2.6/types.pyc matches /usr/lib/python2.6/types.py<br>import types # precompiled from /usr/lib/python2.6/types.pyc<br># /usr/lib/python2.6/UserDict.pyc matches /usr/lib/python2.6/UserDict.py<br>

import UserDict # precompiled from /usr/lib/python2.6/UserDict.pyc<br># /usr/lib/python2.6/_abcoll.pyc matches /usr/lib/python2.6/_abcoll.py<br>import _abcoll # precompiled from /usr/lib/python2.6/_abcoll.pyc<br># /usr/lib/python2.6/abc.pyc matches /usr/lib/python2.6/abc.py<br>

import abc # precompiled from /usr/lib/python2.6/abc.pyc<br># /usr/lib/python2.6/copy_reg.pyc matches /usr/lib/python2.6/copy_reg.py<br>import copy_reg # precompiled from /usr/lib/python2.6/copy_reg.pyc<br># /usr/lib/python2.6/sitecustomize.pyc matches /usr/lib/python2.6/sitecustomize.py<br>

import sitecustomize # precompiled from /usr/lib/python2.6/sitecustomize.pyc<br>import encodings # directory /usr/lib/python2.6/encodings<br># /usr/lib/python2.6/encodings/__init__.pyc matches /usr/lib/python2.6/encodings/__init__.py<br>

import encodings # precompiled from /usr/lib/python2.6/encodings/__init__.pyc<br># /usr/lib/python2.6/codecs.pyc matches /usr/lib/python2.6/codecs.py<br>import codecs # precompiled from /usr/lib/python2.6/codecs.pyc<br>import _codecs # builtin<br>

# /usr/lib/python2.6/encodings/aliases.pyc matches /usr/lib/python2.6/encodings/aliases.py<br>import encodings.aliases # precompiled from /usr/lib/python2.6/encodings/aliases.pyc<br># /usr/lib/python2.6/encodings/utf_8.pyc matches /usr/lib/python2.6/encodings/utf_8.py<br>

import encodings.utf_8 # precompiled from /usr/lib/python2.6/encodings/utf_8.pyc<br>Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)<br>[GCC 4.4.5] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>

dlopen("/usr/lib/python2.6/lib-dynload/readline.so", 2);<br>import readline # dynamically loaded from /usr/lib/python2.6/lib-dynload/readline.so<br>----<br><br><br>Stack trace:<br><br><br>$setup.py build<br>Not found: tahoe-deps<br>

Not found: ../tahoe-deps<br>twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory<br>twisted/runner/portmap.c:14: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token<br>twisted/runner/portmap.c:31: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token<br>

twisted/runner/portmap.c:45: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âPortmapMethodsâ<br>twisted/runner/portmap.c: In function âinitportmapâ:<br>twisted/runner/portmap.c:55: warning: implicit declaration of function âPy_InitModuleâ<br>

twisted/runner/portmap.c:55: error: âPortmapMethodsâ undeclared (first use in this function)<br>twisted/runner/portmap.c:55: error: (Each undeclared identifier is reported only once<br>twisted/runner/portmap.c:55: error: for each function it appears in.)<br>

Traceback (most recent call last):<br>  File "setup.py", line 468, in <module><br>    **setup_args<br>  File "/usr/lib/python2.6/distutils/core.py", line 113, in setup<br>    _setup_distribution = dist = klass(attrs)<br>

  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 260, in __init__<br>    self.fetch_build_eggs(attrs.pop('setup_requires'))<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 284, in fetch_build_eggs<br>

    parse_requirements(requires), installer=self.fetch_build_egg<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 573, in resolve<br>    dist = best[req.key] = env.best_match(req, self, installer)<br>

  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 823, in best_match<br>    return self.obtain(req, installer) # try and download/install<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 835, in obtain<br>

    return installer(requirement)<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 327, in fetch_build_egg<br>    return cmd.easy_install(req)<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 453, in easy_install<br>

    return self.install_item(spec, dist.location, tmpdir, deps)<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 483, in install_item<br>

    dists = self.install_eggs(spec, download, tmpdir)<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 663, in install_eggs<br>    return self.build_and_install(setup_script, setup_base)<br>

  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 938, in build_and_install<br>    self.run_setup(setup_script, setup_base, args)<br>  File "/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 929, in run_setup<br>

    raise DistutilsError("Setup script exited with %s" % (v.args[0],))<br>distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1<br><br clear="all"><br>
-- <br>
It's easy to look good in such seas of ugly people.<br>