-
Notifications
You must be signed in to change notification settings - Fork 548
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
passenger-install-apache2-module fails with OpenSSL development headers not found on OSX El Capitan #1630
Comments
Can you re-run the installer with the environment variable |
Here you go:
|
It looks like El Cptain no longer includes OpenSSL headers? Can you try reinstalling the developer tools? Previous OS X upgrades broke development headers, which was fixed by reinstalling developer tools. If that doesn't help, can you run the installer with these environment variables?
|
Environment variables seemed to help, thanks! Also on Mac OS X Server the apache config file is under: /Library/Server/Web/Config/apache2/. |
So reinstalling the developer tools did not help? |
Yes. |
I am having the same issue with Passenger Nginx installer after upgrading to Mac OS X El Capitan. |
@Fallen-Zen are the environment variables all you set before running |
@gremz I've also had to install OpenSSL from source. |
@Fallen-Zen I've built OpenSSL 1.1.0-dev from source and linked to bin. Should I be looking elsewhere? |
Setting the EXTRA_XXXLAGS makes the apache2-module compile. System: Mac OS X El Capitan, Macports, RVM. |
For those that use homebrew, you can simply install openssl using homebrew.
Make sure that you have updated XCode and agreed to the license and then run
Then you can simply run the following with the included environment variables
|
|
brew link openssl --force does not work for me (passenger-install-nginx).
|
What if you run passenger-install-nginx-module with --extra-configure-flags=--with-openssl=/usr/local/opt/openssl ? |
Still no luck, the commands below: export EXTRA_CFLAGS=-I/usr/local/opt/openssl/include && export EXTRA_CXXFLAGS=-I/usr/local/opt/openssl/include && export EXTRA_LDFLAGS=-L/usr/local/opt/openssl/lib
|
What framework are you using Passenger for? openssl is installed by Macports as a dependency for RVM/Ruby. On my machine the following packages depend on it: serf1 @1.3.4_0 And probably by Ruby too. The RVM dependencies are not on this list. This covers ruby, python and nodejs. I’m wondering how you can have openssl not installed if you are working with Passenger. |
I think I have fixed this problem in the I am not able to upgrade to El Capitain; the El Capitan installer keeps crashing on me. So can anybody verify this for me? |
Yes, I could install Passenger-Nginx on my El Capitan with GH-1630 branch. Thanks! |
Seems to work for Macports OpenSSL on El Capitan too. |
Can this be backported to |
|
i having the same issue on macOS (Sierra) ./configure --prefix=/Users/managerd/git/nginx-src/nginx-1.9.13 --with-pcre=/Users/managerd/git/pcre/pcre-8.39 --with-zlib=/Users/managerd/git/zlib/zlib-1.2.8 --with-http_ssl_module --with-openssl=./ /bin/sh: ./config: No such file or directory |
@knasim check the path you are passing to Please post to our Community support forum for further help, the original issue is solved and closed. |
@OnixGH - it doesn't seem to matter what path you pass to it . |
Same issue as @knasim on OSX Sierra. |
@sharkzp @knasim please use https://groups.google.com/forum/#!topic/phusion-passenger/feL69qGWFXg for further discussion. |
@CamJN thank you but I was able to figure out the problem.
Another one is disabling |
@sharkzp can you paste your full command here . update: resolved it on my end. you have to supply the path to the openssl source code. |
Try |
you should rely on the default system SSL version - compiling you're own version can cause deployment issues with SSL incompatibilities. daaang - someone need to close this thread . |
Amazingly I came across this issue in 2021 still. |
On Debian 11, I solved with the following env vars:
|
After upgrading to El Capitan I'm unable to install the Apache module by running
passenger-install-apache2-module
.I'm getting this error:
* Checking for OpenSSL development headers... Found: no
There's for sure a default installation of OpenSSL on the system, also tried installing the latest one (OpenSSL 1.0.2d 9 Jul 2015) to
/opt/local/bin/openssl
but that did not help at all. Still the same problem.How can I point to the correct path?
The text was updated successfully, but these errors were encountered: