CentOS8 RVM install 2.3 Fails

Issues related to applications and software problems and general support
Post Reply
tpolim008
Posts: 1
Joined: 2020/06/21 17:52:03

CentOS8 RVM install 2.3 Fails

Post by tpolim008 » 2020/06/21 17:55:07

Hello I am trying to install ruby2.3.8 using RVM, it keeps failing under make for the following reasons I am running OpenSSL 1.1.1 any help or suggestions to correct this would be huge. I am trying to install Oxidized on my centos8 VM

[root@netengsrv01 ~]# rvm install 2.3
ruby-2.3.8 - #removing src/ruby-2.3.8..
Searching for binary rubies, this might take some time.
No binary rubies available for: centos/8/x86_64/ruby-2.3.8.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for centos.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.3.8, this may take a while depending on your cpu(s)...
ruby-2.3.8 - #downloading ruby-2.3.8, this may take a while depending on your connection...
ruby-2.3.8 - #extracting ruby-2.3.8 to /usr/local/rvm/src/ruby-2.3.8.....
ruby-2.3.8 - #configuring...........................................................
ruby-2.3.8 - #post-configuration..
ruby-2.3.8 - #compiling.................................................................................................................................................................................................................|
Error running '__rvm_make -j8',
please read /usr/local/rvm/log/1592761497_ruby-2.3.8/make.log

There has been an error while running make. Halting the installation.




ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
make[2]: *** [Makefile:302: ossl_digest.o] Error 1
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/openssl'
make[1]: *** [exts.mk:213: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
linking shared-object objspace.so
linking shared-object json/ext/generator.so
installing default psych libraries
linking shared-object psych.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/objspace'
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/json/generator'
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/psych'
linking shared-object pathname.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/pathname'
linking shared-object bigdecimal.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/bigdecimal'
linking shared-object date_core.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/date'
linking shared-object nkf.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8/ext/nkf'
make[1]: Leaving directory '/usr/local/rvm/src/ruby-2.3.8'
make: *** [uncommon.mk:203: build-ext] Error 2
++ return 2

Post Reply