# Installation of Ruby 1.8.7 on fedora

**URL:** <https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239>\
**Category:** Ruby\
**Created:** [September 20, 2010, 12:23pm UTC](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239 "2010-09-20T12:23:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![awijeet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/65b543/32.png) [@awijeet](https://www.ruby-forum.com/u/awijeet)\
**Post date:** [September 20, 2010, 12:23pm UTC](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239/1 "2010-09-20T12:23:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![awijeet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/65b543/32.png) [@awijeet](https://www.ruby-forum.com/u/awijeet)\
**Post date:** [September 20, 2010, 12:55pm UTC](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239/2 "2010-09-20T12:55:36Z")

</div>

Which Fedora? [Fedora Linux Releases :: Fedora Docs](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)

---

<div class="post-metadata">

**Author:** ![awijeet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/65b543/32.png) [@awijeet](https://www.ruby-forum.com/u/awijeet)\
**Post date:** [September 20, 2010, 1:40pm UTC](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239/3 "2010-09-20T13:40:38Z")

</div>

Brian C. wrote:

> Which Fedora? [Fedora Linux Releases :: Fedora Docs](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

---

<div class="post-metadata">

**Author:** ![awijeet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/65b543/32.png) [@awijeet](https://www.ruby-forum.com/u/awijeet)\
**Post date:** [September 20, 2010, 2:22pm UTC](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239/4 "2010-09-20T14:22:48Z")

</div>

Awijeet Mr. wrote:

> 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)

---

<div class="post-metadata">

**Author:** ![awijeet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/65b543/32.png) [@awijeet](https://www.ruby-forum.com/u/awijeet)\
**Post date:** [September 21, 2010, 6:52am UTC](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239/5 "2010-09-21T06:52:17Z")

</div>

Brian C. wrote:

> Awijeet Mr. wrote:
> 
> > 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)

Thanks Brian, Now it’s working…
