<div dir="ltr"><div>Hi,</div><div><br></div><div>Any help with a Centos install would be appreciated .... following the steps...</div><div><br></div><div>1. Install Development Tools .......OK</div><div>2. Confirm Python version 2.6 ........brilliant </div>
<div>3. Wget allmydata-tahoe-1.10.0 ......fine no probs</div><div>4. Extract zip ........success </div><div>5. cd allmydata-tahoe-1.10.0 ......OK so far....</div><div>6. python setup.py build ... arrrhhhhggg.... output is </div>
<div><br></div><div>[root@vps3 allmydata-tahoe-1.10.0]# python 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 452, in <module><br> **setup_args<br> File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup<br>
_setup_distribution = dist = klass(attrs)<br> File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 260, in __init__<br> self.fetch_build_eggs(attrs.pop('setup_requires'))<br>
File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 284, in fetch_build_eggs<br> parse_requirements(requires), installer=self.fetch_build_egg<br> File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/pkg_resources.py", line 576, in resolve<br>
dist = best[req.key] = env.best_match(req, self, installer)<br> File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/pkg_resources.py", line 826, in best_match<br> return self.obtain(req, installer) # try and download/install<br>
File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/pkg_resources.py", line 838, in obtain<br> return installer(requirement)<br> File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 327, in fetch_build_egg<br>
return cmd.easy_install(req)<br> File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 453, in easy_install<br> return self.install_item(spec, dist.location, tmpdir, deps)<br>
File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 483, in install_item<br> dists = self.install_eggs(spec, download, tmpdir)<br> File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 663, in install_eggs<br>
return self.build_and_install(setup_script, setup_base)<br> File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 938, in build_and_install<br> self.run_setup(setup_script, setup_base, args)<br>
File "/root/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.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</div></div>