Skip to content

Instantly share code, notes, and snippets.

@ttdonovan
Created October 9, 2009 05:33
Show Gist options
  • Select an option

  • Save ttdonovan/205737 to your computer and use it in GitHub Desktop.

Select an option

Save ttdonovan/205737 to your computer and use it in GitHub Desktop.
$ rvm install 1.8.7 --debug | tee | pbcopy
[0;32m<i> Installing Ruby from source to: /Users/tanner/.rvm/ruby-1.8.7-p174 </i> 
[0;32m<i> Downloading ruby-1.8.7-p174, this may take a while depending on your connection... </i> 
[0;35m<d> Fetching ruby-1.8.7-p174.tar.gz </d> 
[0;35m<d> No archive or no MD5, downloading </d> 
[0;32m<i> Extracting ruby-1.8.7-p174 ... </i> 
[0;35m<d> Executing: tar xzf /Users/tanner/.rvm/archives/ruby-1.8.7-p174.tar.gz -C /Users/tanner/.rvm/src </d> 
[0;32m<i> Configuring ruby-1.8.7-p174 using --enable-shared --disable-pthread , this may take a while depending on your cpu(s)... </i> 
[0;35m<d> Executing: ./configure --prefix=/Users/tanner/.rvm/ruby-1.8.7-p174 --enable-shared --disable-pthread </d> 
[0;32m<i> Compiling ruby-1.8.7-p174, this may take a while, depending on your cpu(s)... </i> 
[0;35m<d> Executing: /usr/bin/make </d> 
[0;31m<e> Error running '/usr/bin/make ', please check /Users/tanner/.rvm/log/ruby-1.8.7-p174/make.error.log </e> 
$ cat /Users/tanner/.rvm/log/ruby-1.8.7-p174/make.error.log
[2009-10-08 22:14:43] /usr/bin/make
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1742: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_eval_cmd’:
eval.c:1883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_trace_func’:
eval.c:2734: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_raise_jump’:
eval.c:4765: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘method_missing’:
eval.c:5720: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_call0’:
eval.c:5883: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_eval’:
eval.c:6676: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘exec_under’:
eval.c:6700: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_load’:
eval.c:7016: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_end_proc’:
eval.c:8046: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_END’:
eval.c:8059: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘mproc’:
eval.c:9835: warning: assignment discards qualifiers from pointer target type
gc.c: In function ‘rb_gc_force_recycle’:
gc.c:1236: warning: passing argument 1 of ‘add_freelist’ makes pointer from integer without a cast
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:271: warning: assignment discards qualifiers from pointer target type
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
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_decode0’:
ossl_asn1.c:727: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type
ossl_cipher.c: In function ‘ossl_cipher_init’:
ossl_cipher.c:189: warning: initialization discards qualifiers from pointer target type
ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’:
ossl_cipher.c:312: warning: assignment discards qualifiers from pointer target type
ossl_config.c: In function ‘ossl_config_inspect’:
ossl_config.c:424: warning: initialization discards qualifiers from pointer target type
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:329: warning: initialization discards qualifiers from pointer target 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:89: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
ossl_pkcs7.c:102: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
ossl_pkcs7.c:115: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
ossl_pkcs7.c:128: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
ossl_pkey_dsa.c:165: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type
ossl_pkey_dsa.c:165: 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:370: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693: warning: initialization discards qualifiers from pointer target 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:142: 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