Skip to content
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

El Capitan missing openssl header files #39

Open
Geraldf opened this issue Nov 15, 2015 · 3 comments
Open

El Capitan missing openssl header files #39

Geraldf opened this issue Nov 15, 2015 · 3 comments

Comments

@Geraldf
Copy link

Geraldf commented Nov 15, 2015

Running npm install will result in an error message indicating missing openssl header files:

> [email protected] install /Users/geraldf/node_modules/airtunes
> node-gyp rebuild
  CXX(target) Release/obj.target/airtunes/src/codec.o
../src/codec.cc:5:10: fatal error: 'openssl/aes.h' file not found
#include <openssl/aes.h>

After reading the web, it seams that the header files have been excluded from el capitan. the libraries should be still there.
I have no idea to change the npm install method to use a different location for the openssl header files.

@clanger9
Copy link

I was able to install airtunes on El Capitan by first installing OpenSSL (via macports) and then specifying the location to the new headers with:
CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib npm install airtunes

@Geraldf
Copy link
Author

Geraldf commented Dec 13, 2015

In which file did you make the changes to CXXFLAGS?

@clanger9
Copy link

I did not make any file changes - that is the command I used to build & install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants