Centos Install

Ryutlis r at ryutlis.me
Tue Feb 11 09:03:47 UTC 2014


What is your Python version?
If it is 2.6, this is what you should do first:
http://stackoverflow.com/questions/9410021/how-to-install-python-devel-for-2-6-version

if other Python versions, do similar things.

On Tue, Feb 11, 2014 at 3:22 AM, Gavin King <gavinking77 at gmail.com> wrote:

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


-- 
*@ryutlis* <http://twitter.com/ryutlis>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20140211/380f34fa/attachment.html>


More information about the tahoe-dev mailing list