Created
February 8, 2012 18:05
-
-
Save Meettya/1771824 to your computer and use it in GitHub Desktop.
another rvm install 1.9.3 error log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compiling openssl_missing.c | |
In file included from openssl_missing.c:22: | |
openssl_missing.h:71: error: conflicting types for ‘HMAC_CTX_copy’ | |
/opt/local/include/openssl/hmac.h:102: error: previous declaration of ‘HMAC_CTX_copy’ was here | |
openssl_missing.h:95: error: conflicting types for ‘EVP_CIPHER_CTX_copy’ | |
/opt/local/include/openssl/evp.h:459: error: previous declaration of ‘EVP_CIPHER_CTX_copy’ was here | |
openssl_missing.h:173: error: conflicting types for ‘BN_rand_range’ | |
/opt/local/include/openssl/bn.h:419: error: previous declaration of ‘BN_rand_range’ was here | |
openssl_missing.h:177: error: conflicting types for ‘BN_pseudo_rand_range’ | |
/opt/local/include/openssl/bn.h:420: error: previous declaration of ‘BN_pseudo_rand_range’ was here | |
openssl_missing.c:27: error: conflicting types for ‘HMAC_CTX_copy’ | |
/opt/local/include/openssl/hmac.h:102: error: previous declaration of ‘HMAC_CTX_copy’ was here | |
openssl_missing.c:122: error: conflicting types for ‘EVP_CIPHER_CTX_copy’ | |
/opt/local/include/openssl/evp.h:459: error: previous declaration of ‘EVP_CIPHER_CTX_copy’ was here | |
openssl_missing.c:270: error: conflicting types for ‘BN_rand_range’ | |
/opt/local/include/openssl/bn.h:419: error: previous declaration of ‘BN_rand_range’ was here | |
openssl_missing.c:278: error: conflicting types for ‘BN_pseudo_rand_range’ | |
/opt/local/include/openssl/bn.h:420: error: previous declaration of ‘BN_pseudo_rand_range’ was here | |
make[2]: *** [openssl_missing.o] Error 1 | |
make[1]: *** [ext/openssl/all] Error 2 | |
make: *** [build-ext] Error 2 |
I got it working by doing rvm pkg install openssl
and then rvm install ruby 1.9.3
.
Home Brew installed OpenSSL 0.9.8 (?) s
whilst rvm installed t
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nop. Finally I yield and setup ruby by brew - any other methods not worked at all.