-
Notifications
You must be signed in to change notification settings - Fork 66
Error building pyOpenSSL on OSX #1084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@remram44 it seems that Python 2.7.9 comes with SSL which has been backported from v3: https://www.python.org/downloads/release/python-279/ I wonder if the built-in SSL would work here? |
I tried replacing the version in |
interstingly on my system:
why is gc2lib inside PyOPENSSL? |
@aashish24 in case it matters on Mac 10.10
|
@aashish24 I was building 2 version at once from 2 different build directories but point to same sources. Could it possibly confuse cmake? |
@aashish24 nevermind, was something local with my tweaks on Yosemite branch |
I'm running into this on Arch Linux, too. Same error as @remram44 with 0.13, and with 0.14:
|
@dlonie do you mind trying against .15? Get the cmake file from Yosemite branch. https://github.com/UV-CDAT/uvcdat/blob/Yosemite_rebased/CMake/cdat_modules/scipy_pkg.cmake |
@doutriaux1 That's for scipy -- should it fix the pyopenssl issues? |
@dlonie RE: version 0.14. On Ubuntu when you get that error, it means you need to install the libffi development headers. |
I have them installed at |
It looks like the dependency comes from the |
@jbeezley Interesting...I didn't have pkg-config installed on this box, and even though UV-CDAT had built pkg-config, it looks like it still relies on the system installation during building. pyopenssl 0.14 builds with a system-installed pkg-config. |
@dlonie pyopenssl seems to install via pipinstaller which calls cdat_common_env which in turn should seyour env to use PKGCONFIG, I wonder why it's not respecting this. |
now it might be the issue that you do not have the regualr pkgconfig which seems to be telling pyopenssl where ffi is at (at least that's how @jbeezley seems to be looking for it). Can you try installing pkg-config? |
That's what I did to get it to work -- once the system installed pkg-config was in place, compilation succeeded. |
@mattben @chaosphere2112 @aashish24 we should probably add ffi-devel and pkgcnfig to: |
It looks like |
@remram44 let us know if @dlonie branch helps you. Thanks. |
@doutriaux1 @remram44 please approve this branch |
@remram44 Hi,bro~I had got this problem. But when I tried to "brew uninstall openssl" and reinstalled pyopenssl==0.13,it worked! please forgive my bad English... |
It seems that at this time our repo uses pyopenssl version 0.13(pip show pyOpenSSL) which is not compatible with the openSSL version 1.0.2g(openssl version) that brew installed above. Your mileage may vary. |
With my version of OpenSSL, pyOpenSSL doesn't build:
Googling for this points me to this post, where it says that pyopenSSL 0.14 doesn't have the issue. UVCDAT uses 0.13 (from uv-cdat.llnl.gov/cdat/resources/).
The text was updated successfully, but these errors were encountered: