Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOpenSSL no longer available on OSX 10.11 #7930
Comments
|
I think the best way forward for not-Linux is to update openssl-sys to On Thu, Oct 8, 2015, 8:30 PM Corey Farwell notifications@github.com wrote:
|
|
out of interest how is this handled on Windows? |
|
The user's responsible for getting a copy of OpenSSL. |
|
Just curious: why does Servo use OpenSSL instead of Mozilla's own NSS? |
|
The Rust bindings already existed, so we didn't need to do anything special to integrate it. |
|
I do have openssl on Mac 10.11.2 % which openssl
/usr/bin/opensslbut the build fails src/openssl_shim.c:1:10: fatal error: 'openssl/hmac.h' file not found
#include <openssl/hmac.h>Checking brew I had openssl installed too.
Doing So what to do? |
|
|
|
cargo ... huh? @sfackler thanks for the clean suggestion. After |
Add instructions for OpenSSL on OS X 10.11 See #7930. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9703) <!-- Reviewable:end -->
|
I use macports and I solved the openssl header problem on OS X 10.11 by adding this to my .profile: export CPATH="$CPATH:/opt/local/include" macports installs the necessary openssl header files at that location. |
|
I don't think
Does anyone have updated instructions for macOS? |
|
@sfackler doesn't work for me fwiw:
And:
I've cleaned and retried, same thing each time. (though strangely sometimes it errors on openssl/hmac.h instead of /ssl.h. dunno what that implies, maybe just different compilation speeds changing order?) |
|
Does It is probably more reliable to set those to |
That's a very good, obvious-in-retrospect question. But first a diversion:
Yeah, this is the result of using Back to the first question: strangely, |
|
reinstalled, and the build succeeded. ¯\_(ツ)_/¯ |
|
Pretty sure this can be fixed. |
OpenSSL has been removed from OSX 10.11. We have a couple of options:
Ask people to do
brew install openssl ; brew link --force opensslDo the same thing we do on Android and download & build OpenSSL ourselves
Opinions?
CC @Manishearth @sfackler