-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
RVM - Error running '__rvm_make -j8' while running rvm install on Debian 12 #5426
Comments
Same here for ruby 2.7.0 on Mac OS X. This code below saved my day:
The "problem" was about openssl. |
Hi Arthur
Yess the problem is in rvm program.
When run rvm install Ruby does not find openssl directory installation,
this generate the error.
When add to command
rvm install ruby --openssl-dir=
The problem was solved.
Thanks Arthur Best new year
Alejandro
El jue, 28 de dic. de 2023 21:46, Arthur Duarte ***@***.***>
escribió:
… Same here for ruby 2.7.0 on Mac OS X.
This code below saved my day:
brew install ***@***.***
brew uninstall --ignore-dependencies ***@***.***
rvm install 2.7.0
brew install --ignore-dependencies ***@***.***
The "problem" was about openssl.
Maybe you can look for something similar on linux.
—
Reply to this email directly, view it on GitHub
<#5426 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATWIA33H6E7GTYZNOQ4G6LYLYHEPAVCNFSM6AAAAABBGAKQZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGY2DQNZZGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Good to know. |
Trying to get any version below ruby 3 to work with rvm on Debian12 / Ubuntu 22 proved very painful for me. The only method that worked for was to install openssl 1.1.1 alongside openssl 3. For the record this is what I did:
Now rebuild the rvm ruby, eg:
|
@brodjustice Ruby versions older than 3.1 do not work with OpenSSL 3. They require OpenSSL 1.1 or lower. This is a common point of confusion, so I wrote this blog post with a handy compatibility chart: |
@monfresh I think the point is that Linux users were have been used to installing RVM on top of their fresh Linux installation and within minutes are good to go for any Ruby between 1.9 and 3.x. This is no longer the case, RVM is effectively broken. There are many issues that seem to have the missing openssl version as the core problem #5434, #5361 (comment), #5074, etc. |
Ah, yes. I agree. The good news is that there are alternatives available, such as asdf, rbenv, and chruby/ruby-install. Based on my experience on macOS, they are more reliable than rvm. |
Description
First sorry by my english
When try run "rvm install ruby" my system debian 12 with xfce show this error:
~$ rvm install ruby
ruby-3.0.0 - #removing src/ruby-3.0.0..
Checking requirements for debian.
Requirements installation successful.
Installing Ruby from source to: /home/arcosaf/.rvm/rubies/ruby-3.0.0, this may take a while depending on your cpu(s)...
ruby-3.0.0 - #downloading ruby-3.0.0, this may take a while depending on your connection...
ruby-3.0.0 - #extracting ruby-3.0.0 to /home/arcosaf/.rvm/src/ruby-3.0.0.....
ruby-3.0.0 - #configuring.........................................................................
ruby-3.0.0 - #post-configuration..
ruby-3.0.0 - #compiling......................................................................................................................................................................-
Error running '__rvm_make -j8',
please read /home/"user"/.rvm/log/1703800072_ruby-3.0.0/make.log
There has been an error while running make. Halting the installation.
Steps to reproduce
I use this page for installation ruby with rvm on debian
https://linux.how2shout.com/how-to-install-ruby-version-manager-rvm-on-debian-11-bullseye/
Below here paste portion make.log:
compiling openssl_missing.c
compiling ossl.c
compiling objspace.c
In file included from ossl.h:156,
from ossl.c:10:
openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
|
In file included from ossl.h:31:
/usr/include/openssl/ts.h:424: note: this is the location of the previous definition
424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
|
ossl.c: In function ‘ossl_clear_error’:
ossl.c:311:9: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
311 | while ((e = ERR_get_error_line_data(&file, &line, &data, &flags))) {
| ^~~~~
But after an analysis:
~$ rvm install ruby --with-openssl-dir=/usr/bin/openssl
ruby-3.0.0 - #removing src/ruby-3.0.0..
Checking requirements for debian.
Requirements installation successful.
Installing Ruby from source to: /home/"user"/.rvm/rubies/ruby-3.0.0, this may take a while depending on your cpu(s)...
ruby-3.0.0 - #downloading ruby-3.0.0, this may take a while depending on your connection...
ruby-3.0.0 - #extracting ruby-3.0.0 to /home/"user"/.rvm/src/ruby-3.0.0.....
ruby-3.0.0 - #configuring.........................................................................
ruby-3.0.0 - #post-configuration..
ruby-3.0.0 - #compiling......................................................................................................................................................................|
ruby-3.0.0 - #installing.....................
ruby-3.0.0 - #making binaries executable...
Installed rubygems 3.2.3 is newer than 3.0.9 provided with installed ruby, skipping installation, use --force to force installation.
ruby-3.0.0 - #gemset created /home/"user"/.rvm/gems/ruby-3.0.0@global
ruby-3.0.0 - #importing gemset /home/"user"/.rvm/gemsets/global.gems..............................there was an error installing gem rubygems-bundler
.............................
ruby-3.0.0 - #generating global wrappers........
ruby-3.0.0 - #gemset created /home/"user"/.rvm/gems/ruby-3.0.0
ruby-3.0.0 - #importing gemsetfile /home/"user"/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-3.0.0 - #generating default wrappers........
ruby-3.0.0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-3.0.0 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
I hope it helps you to correct the problem
I'm sorry if this is not the right place to put this note, in my favor it is the only site that has a solution for macOS
Best
The text was updated successfully, but these errors were encountered: