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

Not compiling on latest Mac OS #3

Open
programmin1 opened this issue May 12, 2016 · 1 comment
Open

Not compiling on latest Mac OS #3

programmin1 opened this issue May 12, 2016 · 1 comment

Comments

@programmin1
Copy link

Looks like latest Mac OS is missing some headers (even with devtools and Xcode installed), I get this error on make:

cat: git-rev: No such file or directory
cc -pipe -std=c99 -Wall -pedantic -g -DKCA_VERSION=\"v2\"   -c -o keychain_access.o keychain_access.c
keychain_access.c:36:10: fatal error: 'openssl/err.h' file not found
@n8felton
Copy link

Here is how I managed to fix this on OS X 10.11 El Cap (in a nutshell)

OPENSSL_VERSION="1.0.2j"
curl -LO# https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
cd openssl-${OPENSSL_VERSION}
./configure darwin64-x86_64-cc --prefix=/usr/local/openssl-${OPENSSL_VERSION} shared
make depend
make
make install
ln -s openssl-${OPENSSL_VERSION} /usr/local/openssl
export C_INCLUDE_PATH=/usr/local/openssl/include
cd keychain_access; make;

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

No branches or pull requests

2 participants