BUILD FAILED (Zorin 17 on x86_64 using ruby-build 20250215) #2511
Unanswered
prodsimu
asked this question in
Build failures
Replies: 1 comment
-
Hi, sorry you had so much trouble getting this to work. Compiling Ruby on any system comes with some prerequisites, but they are not always immediately apparent. For example, this error message:
suggest that you're missing the yaml library. In Ruby, "psych" is a library that links to libyaml, so you might want to try to install the Zorin linux is based on Ubuntu, so you could try following the Ubuntu documentation here: https://github.com/rbenv/ruby-build/wiki#ubuntudebianmint |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The first time I tried to install Ruby I used the command
rbenv install 3.3.5 --verbose
, after the installation attempt I got an error saying that no C compiler was installed, so I installed the build-essential package and changed the local variable withexport CC=gcc
and ran the command again.The second time I tried to install the same version I didn't get the message about the C compiler, instead I got a message asking me to install the libz library, so I installed it using the command
sudo apt install libz-dev
, I also installed thelibc6-dev
andzlib1g-dev
libraries after doing some research on the internet, I honestly don't know what they're for but I thought it would help.The third time I tried to install the same version after installing the libraries mentioned above, I got another error, this time I had to install the libffi library, so I installed it with the command
sudo apt install libffi-dev
.The fourth time, before trying to install it, I decided to update my version of ruby-build but it was already up to date, so I tried to install it once more and again it gave me an error.
The fifth time I tried to install version 3.4.2 and I couldn't do it either.
The last time I tried to install I removed all the ruby-build directories inside /tmp and ran the command
rbenv install 3.3.5
Note: I've only been studying programming for a short time, so I apologize if this post is poorly written. I'm also using a translator.
Here are the last 1000 lines I received from the terminal after the last attempt:
Beta Was this translation helpful? Give feedback.
All reactions