[tahoe-dev] (no subject)

duck speaker duck.speaka at gmail.com
Wed Jan 18 17:28:50 UTC 2012


Hello

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).

I'm running on debian linux with python 2.6

I'm running the setup script from within a sub directory in my users home
directory.

Any help is appriciated.

$ python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.6/site.pyc matches /usr/lib/python2.6/site.py
import site # precompiled from /usr/lib/python2.6/site.pyc
# /usr/lib/python2.6/os.pyc matches /usr/lib/python2.6/os.py
import os # precompiled from /usr/lib/python2.6/os.pyc
import errno # builtin
import posix # builtin
# /usr/lib/python2.6/posixpath.pyc matches /usr/lib/python2.6/posixpath.py
import posixpath # precompiled from /usr/lib/python2.6/posixpath.pyc
# /usr/lib/python2.6/stat.pyc matches /usr/lib/python2.6/stat.py
import stat # precompiled from /usr/lib/python2.6/stat.pyc
# /usr/lib/python2.6/genericpath.pyc matches
/usr/lib/python2.6/genericpath.py
import genericpath # precompiled from /usr/lib/python2.6/genericpath.pyc
# /usr/lib/python2.6/warnings.pyc matches /usr/lib/python2.6/warnings.py
import warnings # precompiled from /usr/lib/python2.6/warnings.pyc
# /usr/lib/python2.6/linecache.pyc matches /usr/lib/python2.6/linecache.py
import linecache # precompiled from /usr/lib/python2.6/linecache.pyc
# /usr/lib/python2.6/types.pyc matches /usr/lib/python2.6/types.py
import types # precompiled from /usr/lib/python2.6/types.pyc
# /usr/lib/python2.6/UserDict.pyc matches /usr/lib/python2.6/UserDict.py
import UserDict # precompiled from /usr/lib/python2.6/UserDict.pyc
# /usr/lib/python2.6/_abcoll.pyc matches /usr/lib/python2.6/_abcoll.py
import _abcoll # precompiled from /usr/lib/python2.6/_abcoll.pyc
# /usr/lib/python2.6/abc.pyc matches /usr/lib/python2.6/abc.py
import abc # precompiled from /usr/lib/python2.6/abc.pyc
# /usr/lib/python2.6/copy_reg.pyc matches /usr/lib/python2.6/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.6/copy_reg.pyc
# /usr/lib/python2.6/sitecustomize.pyc matches
/usr/lib/python2.6/sitecustomize.py
import sitecustomize # precompiled from /usr/lib/python2.6/sitecustomize.pyc
import encodings # directory /usr/lib/python2.6/encodings
# /usr/lib/python2.6/encodings/__init__.pyc matches
/usr/lib/python2.6/encodings/__init__.py
import encodings # precompiled from
/usr/lib/python2.6/encodings/__init__.pyc
# /usr/lib/python2.6/codecs.pyc matches /usr/lib/python2.6/codecs.py
import codecs # precompiled from /usr/lib/python2.6/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.6/encodings/aliases.pyc matches
/usr/lib/python2.6/encodings/aliases.py
import encodings.aliases # precompiled from
/usr/lib/python2.6/encodings/aliases.pyc
# /usr/lib/python2.6/encodings/utf_8.pyc matches
/usr/lib/python2.6/encodings/utf_8.py
import encodings.utf_8 # precompiled from
/usr/lib/python2.6/encodings/utf_8.pyc
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.6/lib-dynload/readline.so", 2);
import readline # dynamically loaded from
/usr/lib/python2.6/lib-dynload/readline.so
----


Stack trace:


$setup.py build
Not found: tahoe-deps
Not found: ../tahoe-deps
twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory
twisted/runner/portmap.c:14: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
twisted/runner/portmap.c:31: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
twisted/runner/portmap.c:45: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âPortmapMethodsâ
twisted/runner/portmap.c: In function âinitportmapâ:
twisted/runner/portmap.c:55: warning: implicit declaration of function
âPy_InitModuleâ
twisted/runner/portmap.c:55: error: âPortmapMethodsâ undeclared (first use
in this function)
twisted/runner/portmap.c:55: error: (Each undeclared identifier is reported
only once
twisted/runner/portmap.c:55: error: for each function it appears in.)
Traceback (most recent call last):
  File "setup.py", line 468, in <module>
    **setup_args
  File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/dist.py",
line 260, in __init__
    self.fetch_build_eggs(attrs.pop('setup_requires'))
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/dist.py",
line 284, in fetch_build_eggs
    parse_requirements(requires), installer=self.fetch_build_egg
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py",
line 573, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py",
line 823, in best_match
    return self.obtain(req, installer) # try and download/install
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py",
line 835, in obtain
    return installer(requirement)
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/dist.py",
line 327, in fetch_build_egg
    return cmd.easy_install(req)
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py",
line 453, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py",
line 483, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py",
line 663, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  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
    self.run_setup(setup_script, setup_base, args)
  File
"/home/duck/tahoe-lafs/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py",
line 929, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command
'gcc' failed with exit status 1


-- 
It's easy to look good in such seas of ugly people.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20120118/62ac2157/attachment.html>


More information about the tahoe-dev mailing list