[tahoe-dev] [pycryptopp] #32: fix the build on OpenBSD
pycryptopp
trac at allmydata.org
Sun Nov 22 09:48:55 PST 2009
#32: fix the build on OpenBSD
------------------------+---------------------------------------------------
Reporter: zooko | Owner:
Type: enhancement | Status: new
Priority: major | Version: 0.5.17
Keywords: openbsd | Launchpad_bug:
------------------------+---------------------------------------------------
Comment(by joe):
I am not the original poster, but I had the same issue. The basic problem
turns out that if you are linking things on OpenBSD compiled with -fpic
you also need to specify -fpic at link time. Therefore, this seems to
resolve the problem:
diff -rN old-trunk/setup.py new-trunk/setup.py
60a61,62
> extra_link_args.append("-fpic")
>
The resulting pycryptopp dropped in the right place causes a build of
tahoe to succeed, and that build passes all tests.
My thanks to the helpful directions on how to rebuilt the pycryptopp egg
and put it in the right place for tahoe, as otherwise this would have been
much more painful to figure out.
--
Ticket URL: <http://allmydata.org/trac/pycryptopp/ticket/32#comment:1>
pycryptopp <http://allmydata.org/trac/pycryptopp>
Python bindings for the Crypto++ library
More information about the tahoe-dev
mailing list