[tahoe-dev] Build/run zfec issue
Paul Rabahy
prabahy at gmail.com
Tue Jul 30 00:03:43 UTC 2013
Hey,
I'm having some trouble getting tahoe to build/run on an Ubuntu box. I
followed the instructions on
https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/quickstart.rst,
but am now getting an error message.
In short, I did the following:
Download
Unzip
python setup.py build
cd bin
./tahoe --version
The error:
Traceback (most recent call last):
File "/root/allmydata-tahoe-1.10.0/support/bin/tahoe", line 9, in <module>
load_entry_point('allmydata-tahoe==1.10.0', 'console_scripts',
'tahoe')()
File
"/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg/pkg_resources.py",
line 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File
"/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg/pkg_resources.py",
line 2248, in load_entry_point
return ep.load()
File
"/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg/pkg_resources.py",
line 1981, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/root/allmydata-tahoe-1.10.0/src/allmydata/__init__.py", line 380,
in <module>
check_all_requirements()
File "/root/allmydata-tahoe-1.10.0/src/allmydata/__init__.py", line 378,
in check_all_requirements
raise PackagingError(get_error_string(errors, debug=True))
allmydata.PackagingError:
ImportError: for requirement 'zfec >= 1.1.0': (<type
'exceptions.ImportError'>, 'libpython2.7.so.1.0: cannot open shared object
file: No such file or directory',
('/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg/zfec/__init__.py',
18, '<module>', 'from _fec import Encoder, Decoder, Error'))
For debugging purposes, the PYTHONPATH was
'/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages'
install_requires was
['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4',
'zope.interface == 3.6.0, == 3.6.1, == 3.6.2, >= 3.6.5', 'Twisted >=
11.0.0', 'foolscap >= 0.6.3', 'pyOpenSSL', 'Nevow >= 0.6.0', 'pycrypto ==
2.1.0, == 2.3, >= 2.4.1', 'pyasn1 >= 0.0.8a', 'mock >= 0.8.0', 'pycryptopp
>= 0.6.0']
sys.path after importing pkg_resources was
/root/allmydata-tahoe-1.10.0/support/bin:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg:
/root/allmydata-tahoe-1.10.0/src:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/Nevow-0.10.0-py2.7.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/pyOpenSSL-0.13-py2.7-linux-x86_64.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/foolscap-0.6.4-py2.7.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/simplejson-3.3.0-py2.7.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/pyutil-1.9.7-py2.7.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/zbase32-1.1.5-py2.7.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/Twisted-11.1.0-py2.7-linux-x86_64.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/zope.interface-3.6.1-py2.7-linux-x86_64.egg:
/root/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages:
/usr/lib/python2.7:
/usr/lib/python2.7/plat-linux2:
/usr/lib/python2.7/lib-tk:
/usr/lib/python2.7/lib-old:
/usr/lib/python2.7/lib-dynload:
/usr/local/lib/python2.7/dist-packages:
/usr/lib/python2.7/dist-packages
I tried:
sudo apt-get install python-zfec, but nothing changed.
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20130729/7aed8acd/attachment.html>
More information about the tahoe-dev
mailing list