Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error "__rvm_make -j4" while Installing "rvm install 2.1.2" #4359

Open
ArpitGandhi153 opened this issue Apr 10, 2018 · 4 comments
Open

Comments

@ArpitGandhi153
Copy link

rvm install 2.1.2

Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/16.04/x86_64/ruby-2.1.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /usr/share/rvm/rubies/ruby-2.1.2, this may take a while depending on your cpu(s)...
ruby-2.1.2 - #downloading ruby-2.1.2, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11.4M 100 11.4M 0 0 2165k 0 0:00:05 0:00:05 --:--:-- 2391k
ruby-2.1.2 - #extracting ruby-2.1.2 to /usr/share/rvm/src/ruby-2.1.2....
ruby-2.1.2 - #applying patch /usr/share/rvm/patches/ruby/2.1.2/openssl3.patch.
ruby-2.1.2 - #configuring....................................................
ruby-2.1.2 - #post-configuration..
ruby-2.1.2 - #compiling.................................................................................
Error running '__rvm_make -j4',
please read /home/arpit/.rvm/log/1523333230_ruby-2.1.2/make.log
There has been an error while running make. Halting the installation.

Error running '__rvm_make -j4',
please read /home/arpit/.rvm/log/1523333230_ruby-2.1.2/make.log
There has been an error while running make. Halting the installation.

Please let me know the way forward to install Ruby-2.1.2

@jadrevenge
Copy link

hi, can you attach the contents of the log file?

@nkadel
Copy link

nkadel commented Apr 16, 2018

I saw a similar error while trying to backport chefdk to CentOS 5 for a legacy host to use ruby-2.5.1. It disappeared when compiling ruby-2.4.2 instead, but that left me other problems.

@jadrevenge
Copy link

what happens when you run the "configure" script manually in the directory that the ruby is extracted to?

@brohit-97
Copy link

export warnflags=-Wno-error=implicit-function-declaration
export optflags="-w"
rvm install "ruby-2.6.3" --with-out-ext=fiddle
Resolved same issue with the above commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants