[tahoe-dev] Compiling Error
Jimmy Tang
jcftang at gmail.com
Tue Nov 9 00:30:01 UTC 2010
On Tue, Nov 9, 2010 at 12:27 AM, Yonggang Wen <ygwen77 at yahoo.com> wrote:
> Hi, there:
>
> I was following the instruction on the quickstart page. The following error
> resulted from python setup.py build:
>
> Not found: tahoe-deps
> Not found: ../tahoe-deps
> twisted/runner/portmap.c:10: fatal error: Python.h: No such file or
> directory
> compilation terminated.
> Traceback (most recent call last):
> File "setup.py", line 373, in <module>
> **setup_args
> File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
> _setup_distribution = dist = klass(attrs)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/dist.py",
> line 260, in __init__
> self.fetch_build_eggs(attrs.pop('setup_requires'))
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/dist.py",
> line 284, in fetch_build_eggs
> parse_requirements(requires), installer=self.fetch_build_egg
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/pkg_resources.py",
> line 563, in resolve
> dist = best[req.key] = env.best_match(req, self, installer)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/pkg_resources.py",
> line 799, in best_match
> return self.obtain(req, installer) # try and download/install
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/pkg_resources.py",
> line 811, in obtain
> return installer(requirement)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/dist.py",
> line 327, in fetch_build_egg
> return cmd.easy_install(req)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py",
> line 453, in easy_install
> return self.install_item(spec, dist.location, tmpdir, deps)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py",
> line 483, in install_item
> dists = self.install_eggs(spec, download, tmpdir)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py",
> line 662, in install_eggs
> return self.build_and_install(setup_script, setup_base)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py",
> line 937, in build_and_install
> self.run_setup(setup_script, setup_base, args)
> File
> "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py",
> line 928, 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
>
> Any suggestion?
>
>
>
seems you are missing the python devel packages for your distribution.
jimmy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20101109/55b4dbea/attachment.html>
More information about the tahoe-dev
mailing list