installation of Ruby 1.8.7 on fedora .

A

Awijeet Mr.

I got this

[2010-09-20 21:17:09] 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
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:271: warning: assignment discards qualifiers from pointer
target type
void
char
short
long
float
double
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693: warning: initialization discards qualifiers from
pointer target type
ossl_x509crl.c: In function ‘ossl_x509crl_get_revoked’:
ossl_x509crl.c:265: warning: pointer type mismatch in conditional
expression
ossl_x509crl.c:273: warning: pointer type mismatch in conditional
expression
ossl_config.c: In function ‘ossl_config_get_sections’:
ossl_config.c:313: warning: passing argument 1 of ‘lh_doall_arg’ from
incompatible pointer type
/usr/include/openssl/lhash.h:181: note: expected ‘struct _LHASH *’ but
argument is of type ‘struct lhash_st_CONF_VALUE *’
ossl_config.c: In function ‘dump_conf’:
ossl_config.c:349: warning: passing argument 1 of ‘lh_doall_arg’ from
incompatible pointer type
/usr/include/openssl/lhash.h:181: note: expected ‘struct _LHASH *’ but
argument is of type ‘struct lhash_st_CONF_VALUE *’
ossl_config.c: In function ‘ossl_config_each’:
ossl_config.c:393: warning: passing argument 1 of ‘lh_doall_arg’ from
incompatible pointer type
/usr/include/openssl/lhash.h:181: note: expected ‘struct _LHASH *’ but
argument is of type ‘struct lhash_st_CONF_VALUE *’
ossl_config.c: In function ‘ossl_config_inspect’:
ossl_config.c:424: warning: initialization discards qualifiers from
pointer target 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_asn1.c: In function ‘decode_bool’:
ossl_asn1.c:313: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from
incompatible pointer type
/usr/include/openssl/asn1.h:830: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:328: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from
incompatible pointer type
/usr/include/openssl/asn1.h:832: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_bstr’:
ossl_asn1.c:347: warning: passing argument 2 of ‘d2i_ASN1_BIT_STRING’
from incompatible pointer type
/usr/include/openssl/asn1.h:810: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:373: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’
from incompatible pointer type
/usr/include/openssl/asn1.h:841: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_null’:
ossl_asn1.c:390: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from
incompatible pointer type
/usr/include/openssl/asn1.h:867: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_obj’:
ossl_asn1.c:407: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from
incompatible pointer type
/usr/include/openssl/asn1.h:787: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:435: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from
incompatible pointer type
/usr/include/openssl/asn1.h:883: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘ossl_asn1_decode0’:
ossl_asn1.c:727: warning: passing argument 1 of ‘ASN1_get_object’ from
incompatible pointer type
/usr/include/openssl/asn1.h:945: note: expected ‘const unsigned char **’
but argument is of type ‘unsigned char **’
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:329: warning: initialization discards qualifiers from
pointer target type
ossl_ssl.c:101: warning: initialization from incompatible pointer type
ossl_ssl.c:102: warning: initialization from incompatible pointer type
ossl_ssl.c:103: warning: initialization from incompatible pointer type
ossl_ssl.c:104: warning: initialization from incompatible pointer type
ossl_ssl.c:105: warning: initialization from incompatible pointer type
ossl_ssl.c:106: warning: initialization from incompatible pointer type
ossl_ssl.c:107: warning: initialization from incompatible pointer type
ossl_ssl.c:108: warning: initialization from incompatible pointer type
ossl_ssl.c:109: warning: initialization from incompatible pointer type
ossl_ssl.c:110: warning: initialization from incompatible pointer type
ossl_ssl.c:111: warning: initialization from incompatible pointer type
ossl_ssl.c:112: warning: initialization from incompatible pointer type
ossl_ssl.c: In function ‘ossl_sslctx_get_ciphers’:
ossl_ssl.c:626: error: ‘STACK’ undeclared (first use in this function)
ossl_ssl.c:626: error: (Each undeclared identifier is reported only once
ossl_ssl.c:626: error: for each function it appears in.)
ossl_ssl.c:626: error: expected expression before ‘)’ token
ossl_ssl.c:629: error: expected expression before ‘)’ token
ossl_ssl.c:629: error: too few arguments to function ‘sk_value’
ossl_ssl.c: In function ‘ossl_ssl_get_peer_cert_chain’:
ossl_ssl.c:1199: warning: passing argument 1 of ‘sk_num’ from
incompatible pointer type
/usr/include/openssl/stack.h:79: note: expected ‘const struct _STACK *’
but argument is of type ‘struct stack_st_X509 *’
ossl_ssl.c:1202: warning: passing argument 1 of ‘sk_value’ from
incompatible pointer type
/usr/include/openssl/stack.h:80: note: expected ‘const struct _STACK *’
but argument is of type ‘struct stack_st_X509 *’
ossl_ssl.c: In function ‘ossl_ssl_get_cipher’:
ossl_ssl.c:1224: warning: assignment discards qualifiers from pointer
target type
make[1]: *** [ossl_ssl.o] Error 1
make: *** [all] Error 1


at /usr/local/rvm/log/ruby-1.8.7-p174/make.error.log

when was following rvm install 1.8.7-p174 command in fedora can any one
tell me why I am getting this and how can I solve it.
Thanks
 
B

Brian Candler

Which Fedora? http://fedoraproject.org/wiki/Releases

If it's Fedora 11 or older, then the first thing you need to do is
upgrade your system.

(As you may already know, Fedora is where you live life on the bleeding
edge - within a year your system is obsolete and unsupported. If you
don't want to upgrade every year, then you should choose a different
distro)
 
A

Awijeet Mr.

Brian said:
Which Fedora? http://fedoraproject.org/wiki/Releases

If it's Fedora 11 or older, then the first thing you need to do is
upgrade your system.

(As you may already know, Fedora is where you live life on the bleeding
edge - within a year your system is obsolete and unsupported. If you
don't want to upgrade every year, then you should choose a different
distro)

it's Fedora Release 13(Goddard).
Kernel linux 2.6.33.3-85.fc13.i686
 
B

Brian Candler

Awijeet said:
it's Fedora Release 13(Goddard).
Kernel linux 2.6.33.3-85.fc13.i686

OK. Next thing I'd suggest is to try building the latest 1.8.7, which is
ruby-1.8.7-p302 (in case this problem is already resolved)
 
A

Awijeet Mr.

Brian said:
OK. Next thing I'd suggest is to try building the latest 1.8.7, which is
ruby-1.8.7-p302 (in case this problem is already resolved)

Thanks Brian, Now it's working..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top