Installation on OpenBSD-5.9
Chad Dougherty
crd at acm.org
Tue Apr 5 02:50:21 UTC 2016
I installed tahoe-lafs-1.11.0 on OpenBSD-5.9/amd64 the other day. The
usual virtualenv method described in
<https://tahoe-lafs.readthedocs.org/en/latest/INSTALL.html> did not work
for me, however, due to the py-cryptography/py-openssl incompatibility
with LibreSSL described in [#2746].
Instead, I installed py-openssl from pkgs and did the rest with pip --user:
# pkg_add py-pip py-openssl
py-pip-7.1.2:py-setuptools-18.2p0v0: ok
py-pip-7.1.2: ok
py-openssl-0.15.1p1:py-cparser-2.10p1: ok
py-openssl-0.15.1p1:py-cffi-1.4.2: ok
py-openssl-0.15.1p1:py-six-1.10.0: ok
py-openssl-0.15.1p1:py-asn1-0.1.9p0v0: ok
py-openssl-0.15.1p1:py-enum34-1.1.2: ok
py-openssl-0.15.1p1:py-idna-2.0p0: ok
py-openssl-0.15.1p1:py-ipaddress-1.0.16: ok
py-openssl-0.15.1p1:py-cryptography-1.2.1: ok
py-openssl-0.15.1p1: ok
--- +py-pip-7.1.2 -------------------
If you want to use this package as default pip, as root create a
symbolic link like so (overwriting any previous default):
ln -sf /usr/local/bin/pip2.7 /usr/local/bin/pip
# exit
$ pip install --user --find-links=https://tahoe-lafs.org/deps tahoe-lafs
Collecting tahoe-lafs
Requirement already satisfied (use --upgrade to upgrade):
setuptools>=11.3 in /usr/local/lib/python2.7/site-packages (from tahoe-lafs)
Collecting zope.interface!=3.6.3,!=3.6.4,>=3.6.0 (from tahoe-lafs)
Collecting Nevow>=0.11.1 (from tahoe-lafs)
Using cached Nevow-0.13.0-py2-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.8
in /usr/local/lib/python2.7/site-packages (from tahoe-lafs)
Collecting foolscap>=0.10.1 (from tahoe-lafs)
Using cached foolscap-0.11.0-py2-none-any.whl
Collecting pycrypto!=2.2,!=2.4,>=2.1.0 (from tahoe-lafs)
Requirement already satisfied (use --upgrade to upgrade):
pyOpenSSL>=0.14 in /usr/local/lib/python2.7/site-packages (from tahoe-lafs)
Collecting Twisted[tls]>=15.1.0 (from tahoe-lafs)
Collecting characteristic>=14.0.0 (from tahoe-lafs)
Using cached characteristic-14.3.0-py2.py3-none-any.whl
Collecting zfec>=1.1.0 (from tahoe-lafs)
Collecting pycryptopp>=0.6.0 (from tahoe-lafs)
Collecting service-identity (from tahoe-lafs)
Using cached service_identity-16.0.0-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.0.5 (from tahoe-lafs)
Using cached pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting simplejson>=1.4 (from tahoe-lafs)
Requirement already satisfied (use --upgrade to upgrade):
cryptography>=0.7 in /usr/local/lib/python2.7/site-packages (from
pyOpenSSL>=0.14->tahoe-lafs)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in
/usr/local/lib/python2.7/site-packages (from pyOpenSSL>=0.14->tahoe-lafs)
Requirement already satisfied (use --upgrade to upgrade): idna>=0.6 in
/usr/local/lib/python2.7/site-packages (from
Twisted[tls]>=15.1.0->tahoe-lafs)
Collecting pyutil>=1.3.19 (from zfec>=1.1.0->tahoe-lafs)
Using cached https://tahoe-lafs.org/deps/pyutil-2.0.0-py2-none-any.whl
Collecting attrs (from service-identity->tahoe-lafs)
Using cached attrs-15.2.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): enum34 in
/usr/local/lib/python2.7/site-packages (from
cryptography>=0.7->pyOpenSSL>=0.14->tahoe-lafs)
Requirement already satisfied (use --upgrade to upgrade): ipaddress in
/usr/local/lib/python2.7/site-packages (from
cryptography>=0.7->pyOpenSSL>=0.14->tahoe-lafs)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in
/usr/local/lib/python2.7/site-packages (from
cryptography>=0.7->pyOpenSSL>=0.14->tahoe-lafs)
Collecting zbase32>=1.0 (from pyutil>=1.3.19->zfec>=1.1.0->tahoe-lafs)
Using cached https://tahoe-lafs.org/deps/zbase32-1.1.5-py2-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pycparser in
/usr/local/lib/python2.7/site-packages (from
cffi>=1.4.1->cryptography>=0.7->pyOpenSSL>=0.14->tahoe-lafs)
Installing collected packages: zope.interface, pyasn1-modules, attrs,
service-identity, Twisted, Nevow, foolscap, pycrypto, characteristic,
zbase32, pyutil, zfec, pycryptopp, simplejson, tahoe-lafs
Successfully installed Nevow Twisted attrs characteristic foolscap
pyasn1-modules pycrypto pycryptopp pyutil service-identity simplejson
tahoe-lafs zbase32 zfec zope.interface
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ ~/.local/bin/tahoe --version-and-path
tahoe-lafs: 1.11.0 [master: 04a3e7993f70ac87c208d61f4387a59f5f419367]
(/home/crd/.local/lib/python2.7/site-packages)
foolscap: 0.11.0 (/home/crd/.local/lib/python2.7/site-packages)
pycryptopp: 0.7.1.869544967005693312591928092448767568728501330214
(/home/crd/.local/lib/python2.7/site-packages)
zfec: 1.4.24 (/home/crd/.local/lib/python2.7/site-packages)
Twisted: 16.1.0 (/home/crd/.local/lib/python2.7/site-packages)
Nevow: 0.13.0 (/home/crd/.local/lib/python2.7/site-packages)
zope.interface: unknown (/home/crd/.local/lib/python2.7/site-packages/zope)
python: 2.7.11 (/usr/local/bin/python2.7)
platform: OpenBSD-5.9-amd64-64bit (None)
pyOpenSSL: 0.15.1 (/usr/local/lib/python2.7/site-packages)
OpenSSL: LibreSSL [2.3.2] (None)
simplejson: 3.8.2 (/home/crd/.local/lib/python2.7/site-packages)
pycrypto: 2.6.1 (/home/crd/.local/lib/python2.7/site-packages)
pyasn1: 0.1.9 (/usr/local/lib/python2.7/site-packages)
service-identity: 16.0.0 (/home/crd/.local/lib/python2.7/site-packages)
characteristic: 14.3.0 (/home/crd/.local/lib/python2.7)
pyasn1-modules: 0.0.8 (/home/crd/.local/lib/python2.7/site-packages)
cryptography: 1.2.1 (/usr/local/lib/python2.7/site-packages)
cffi: 1.4.2 (/usr/local/lib/python2.7/site-packages)
six: 1.10.0 (/usr/local/lib/python2.7)
enum34: 1.1.2 (/usr/local/lib/python2.7/site-packages)
pycparser: 2.10 (/usr/local/lib/python2.7/site-packages)
setuptools: 18.2 (/usr/local/lib/python2.7/site-packages)
attrs: 15.2.0 [according to pkg_resources]
(/home/crd/.local/lib/python2.7/site-packages)
ipaddress: 1.0.16 [according to pkg_resources]
(/usr/local/lib/python2.7/site-packages)
idna: 2.0 [according to pkg_resources]
(/usr/local/lib/python2.7/site-packages)
--
-Chad
More information about the tahoe-dev
mailing list