<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Nov 9, 2010 at 12:27 AM, Yonggang Wen <span dir="ltr"><<a href="mailto:ygwen77@yahoo.com">ygwen77@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Hi, there:<br><br>I was following the instruction on the quickstart page. The following error resulted from python setup.py build:<br>
<br>Not found: tahoe-deps<br>Not found: ../tahoe-deps<br>twisted/runner/portmap.c:10: fatal error: Python.h: No such file or directory<br>compilation terminated.<br>Traceback (most recent call last):<br> File "setup.py", line 373, 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/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/dist.py", line 260, in __init__<br>
self.fetch_build_eggs(attrs.pop('setup_requires'))<br> File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/dist.py", line 284,
in fetch_build_eggs<br> parse_requirements(requires), installer=self.fetch_build_egg<br> File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/pkg_resources.py", line 563, in resolve<br> dist = best[req.key] = env.best_match(req, self, installer)<br>
File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/pkg_resources.py", line 799, in best_match<br> return self.obtain(req, installer) # try and download/install<br> File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/pkg_resources.py", line 811, in obtain<br>
return installer(requirement)<br> File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/dist.py", line 327, in fetch_build_egg<br> return cmd.easy_install(req)<br> File
"/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py", line 453, in easy_install<br> return self.install_item(spec, dist.location, tmpdir, deps)<br> File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py", line 483, in install_item<br>
dists = self.install_eggs(spec, download, tmpdir)<br> File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py", line 662, in install_eggs<br> return self.build_and_install(setup_script, setup_base)<br>
File "/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py", line 937, in build_and_install<br> self.run_setup(setup_script, setup_base, args)<br> File
"/home/ygwen/tahoe/allmydata-tahoe-1.8.0/setuptools-0.6c16dev2.egg/setuptools/command/easy_install.py", line 928, 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>Any suggestion?<br><br><br></td></tr></tbody></table></blockquote><div><br></div><div><br></div><div>
<br></div><div>seems you are missing the python devel packages for your distribution.</div><div><br></div><div><br></div><div>jimmy. </div></div></div>