-
Notifications
You must be signed in to change notification settings - Fork 744
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
ARM64 ssl module in Python is not available (from PIP) #796
Comments
I'm pretty sure it gets enabled properly, for example, see this build log:
https://api.travis-ci.org/v3/job/592363041/log.txt What error messages are you getting? |
I'll reverse the solution when I get a chance to repeat the error + send you the output Kindly bear with me - I wanna do a clean build later / tomorrow |
OK - one extremely long build log attached if you wanna examine it I removed libssl-dev before starting this run The highlight is @ line 31391... Part of the CPython build Could not build the ssl module! A lot above this @ 13665 it actually build a static libssl as bart of FFMpeg :) Things then continue to the 45000 area where Python gets upset that it ain't got SSL From here on in adding libssl-dev back in and restarting :cpython runs thru this lot again until #797 where tesseract gets upset at -ljbig |
It won't build without libssl-dev, that's expected.
|
If I understand correctly, this is only a documentation issue, right? |
The point I'm making about missing libssl-dev is that the cause of the error isn't obvious - far from it. The error is reported when building Numpy but the cause of the error is the CPython build missing libssl-dev I've got Python + PIP installed and they've got SSL support, this is what threw me at first as it's not using the system Python / PIP but one it installs itself which will not have SSL support without libssl-dev. When building CPython a check should be made for libssl-dev and die if missing. I never do / have never done cross compilation - that's why I suggested getting someone to let the project have a PPC cloud box (someone says yes eventually). Same goes for Power8/9 and upcoming ARM servers. I'll get around to looking into Travis-CI sometime soon |
BTW, it looks like Travis CI just got support for ARM: |
OpenSSL now gets built as part of the build for CPython as well, so it should take care of this issue. |
This happens on my Nano )prob affects other platforms as well) when in gets to Numpy. Seen this before so had a clue as to the answer.
The previous step in to build CPython which will happily build with or without SSL/TLS but if you build without SSL/TLS the Numpy fails...
On Ubuntu you get the deps with...
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Dunno if they're all required (StackOverflow answer)
Prob a good idea to stick a check in for SSL dev libs while building CPython
The text was updated successfully, but these errors were encountered: