Created
January 22, 2010 03:20
-
-
Save keithpitty/283469 to your computer and use it in GitHub Desktop.
This file contains 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
I'm having some difficulties installing rubies with rvm. Even though I had no problems installing 1.9.1, | |
all my attempts to install 1.8.6 or 1.8.7 have failed with compile errors associated with readline. | |
After my attempts with rvm install 1.8.x failed, I tried the suggestions in | |
http://rvm.beginrescueend.com/troubleshooting/ to no avail. So I've tried: | |
> rvm install 1.8.x | |
> rvm install 1.8.x -C --enable-shared=yes,--with-readline-dir=/usr/local | |
and: | |
> rvm install readline | |
followed by | |
> rvm install 1.8.x -C --with-readline-dir=/Users/myusername/.rvm/usr | |
The readline-specific messages are: | |
readline.c: In function ‘username_completion_proc_call’: | |
readline.c:730: error: ‘username_completion_function’ undeclared (first use in this function) | |
readline.c:730: error: (Each undeclared identifier is reported only once | |
readline.c:730: error: for each function it appears in.) | |
And here is make.error.log in ints entirety: | |
[2010-01-22 13:57:22] make | |
dln.c: In function ‘dln_load’: | |
dln.c:1463: warning: ‘NSCreateObjectFileImageFromFile’ is deprecated (declared at /usr/include/mach-o/dyld.h:145) | |
dln.c:1469: warning: ‘NSLinkModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:161) | |
dln.c:1472: warning: ‘NSIsSymbolNameDefined’ is deprecated (declared at /usr/include/mach-o/dyld.h:176) | |
dln.c:1475: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188) | |
dln.c:1475: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:179) | |
eval.c: In function ‘rb_eval_string_wrap’: | |
eval.c:1734: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_eval_cmd’: | |
eval.c:1875: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘call_trace_func’: | |
eval.c:2726: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_raise_jump’: | |
eval.c:4751: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘method_missing’: | |
eval.c:5675: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_call0’: | |
eval.c:5838: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_f_eval’: | |
eval.c:6625: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘exec_under’: | |
eval.c:6649: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_load’: | |
eval.c:6885: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘call_end_proc’: | |
eval.c:7915: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_f_END’: | |
eval.c:7928: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘mproc’: | |
eval.c:9548: warning: assignment discards qualifiers from pointer target type | |
file.c: In function ‘lchmod_internal’: | |
file.c:1787: warning: cast from pointer to integer of different size | |
gc.c: In function ‘obj_free’: | |
gc.c:1279: warning: initialization from incompatible pointer type | |
regex.c: In function ‘ruby_re_compile_pattern’: | |
regex.c:1362: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘long int’ | |
regex.c:2026: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’ | |
ptr.c: In function ‘rb_dlptr_inspect’: | |
ptr.c:461: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘struct ptr_data *’ | |
ptr.c:461: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 8 has type ‘void *’ | |
void | |
char | |
short | |
int | |
long | |
float | |
double | |
sym.c: In function ‘rb_dlsym_inspect’: | |
sym.c:270: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘struct sym_data *’ | |
sym.c:270: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘void *’ | |
ossl_asn1.c: In function ‘decode_bool’: | |
ossl_asn1.c:313: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type | |
ossl_asn1.c: In function ‘decode_int’: | |
ossl_asn1.c:328: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type | |
ossl_asn1.c: In function ‘decode_bstr’: | |
ossl_asn1.c:347: warning: passing argument 2 of ‘d2i_ASN1_BIT_STRING’ from incompatible pointer type | |
ossl_asn1.c: In function ‘decode_enum’: | |
ossl_asn1.c:373: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type | |
ossl_asn1.c: In function ‘decode_null’: | |
ossl_asn1.c:390: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type | |
ossl_asn1.c: In function ‘decode_obj’: | |
ossl_asn1.c:407: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type | |
ossl_asn1.c: In function ‘decode_time’: | |
ossl_asn1.c:435: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type | |
ossl_asn1.c: In function ‘ossl_asn1_get_asn1type’: | |
ossl_asn1.c:503: warning: cast to pointer from integer of different size | |
ossl_asn1.c: In function ‘ossl_asn1_decode0’: | |
ossl_asn1.c:727: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type | |
ossl_ns_spki.c: In function ‘ossl_spki_initialize’: | |
ossl_ns_spki.c:67: warning: passing argument 2 of ‘d2i_NETSCAPE_SPKI’ from incompatible pointer type | |
ossl_ocsp.c: In function ‘ossl_ocspreq_initialize’: | |
ossl_ocsp.c:114: warning: passing argument 2 of ‘d2i_OCSP_REQUEST’ from incompatible pointer type | |
ossl_ocsp.c: In function ‘ossl_ocspres_initialize’: | |
ossl_ocsp.c:321: warning: passing argument 2 of ‘d2i_OCSP_RESPONSE’ from incompatible pointer type | |
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’: | |
ossl_pkcs7.c:90: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type | |
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’: | |
ossl_pkcs7.c:103: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type | |
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’: | |
ossl_pkcs7.c:116: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type | |
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’: | |
ossl_pkcs7.c:129: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type | |
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’: | |
ossl_pkey_dsa.c:141: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type | |
ossl_pkey_dsa.c:141: warning: passing argument 4 of ‘PEM_ASN1_read_bio’ from incompatible pointer type | |
ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’: | |
ossl_pkey_dsa.c:313: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type | |
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’: | |
ossl_x509attr.c:100: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type | |
ossl_x509ext.c: In function ‘ossl_x509ext_initialize’: | |
ossl_x509ext.c:285: warning: passing argument 2 of ‘d2i_X509_EXTENSION’ from incompatible pointer type | |
ossl_x509name.c: In function ‘ossl_x509name_initialize’: | |
ossl_x509name.c:135: warning: passing argument 2 of ‘d2i_X509_NAME’ from incompatible pointer type | |
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’: | |
ossl_x509revoked.c:48: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type | |
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’: | |
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type | |
readline.c: In function ‘username_completion_proc_call’: | |
readline.c:730: error: ‘username_completion_function’ undeclared (first use in this function) | |
readline.c:730: error: (Each undeclared identifier is reported only once | |
readline.c:730: error: for each function it appears in.) | |
make[1]: *** [readline.o] Error 1 | |
make: *** [all] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment