[tahoe-dev] spot of bother

Peter Dawson pjdawson at mac.com
Tue Sep 18 08:53:00 UTC 2012


Hi there,

Looking for a little help.

I am using a Mac (Mountain Lion)

I have downloaded python 2.7 and the latest Tahoe-LAFS

I have installed setuptools and Genshi also.... I might be doing something really stupid but not used to the CLI and need a little help.  Thanks....

When I execute python setup.py in the root directory (allmydata-tahoe-1.9.2) from the terminal I get the following:



Peters-iMac-4:allmydata-tahoe-1.9.2 Peter$ python setup.py
Not found: tahoe-deps
Not found: ../tahoe-deps
unable to execute gcc-4.2: No such file or directory
unable to execute gcc-4.2: No such file or directory
unable to execute gcc-4.2: No such file or directory
Traceback (most recent call last):
 File "setup.py", line 483, in <module>
   **setup_args
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
   _setup_distribution = dist = klass(attrs)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 260, in __init__
   self.fetch_build_eggs(attrs.pop('setup_requires'))
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 284, in fetch_build_eggs
   parse_requirements(requires), installer=self.fetch_build_egg
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/pkg_resources.py", line 573, in resolve
   dist = best[req.key] = env.best_match(req, self, installer)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/pkg_resources.py", line 823, in best_match
   return self.obtain(req, installer) # try and download/install
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/pkg_resources.py", line 835, in obtain
   return installer(requirement)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 327, in fetch_build_egg
   return cmd.easy_install(req)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 453, in easy_install
   return self.install_item(spec, dist.location, tmpdir, deps)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 483, in install_item
   dists = self.install_eggs(spec, download, tmpdir)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 663, in install_eggs
   return self.build_and_install(setup_script, setup_base)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/setuptools-0.6c16dev3.egg/setuptools/command/easy_install.py", line 938, in build_and_install
   self.run_setup(setup_script, setup_base, args)
 File "/Users/Peter/Downloads/allmydata-tahoe-1.9.2/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-4.2' failed with exit status 1
Peters-iMac-4:allmydata-tahoe-1.9.2 Peter$


More information about the tahoe-dev mailing list