Unable to install Ruby 2.6. X on Linux with ARM processor #2038
Answered
by
hsbt
jihg2020
asked this question in
Build failures
-
~ rbenv install 2.6.6
Downloading ruby-2.6.6.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.6.tar.bz2
Installing ruby-2.6.6...
BUILD FAILED (Ubuntu 22.04 using ruby-build 20200401)
Inspect or clean up the working tree at /tmp/ruby-build.20220907002247.108128.4LwGuT
Results logged to /tmp/ruby-build.20220907002247.108128.log
Last 10 log lines:
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
linking shared-object bigdecimal.so
make[2]: Leaving directory '/tmp/ruby-build.20220907002247.108128.4LwGuT/ruby-2.6.6/ext/bigdecimal'
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
linking shared-object socket.so
make[2]: Leaving directory '/tmp/ruby-build.20220907002247.108128.4LwGuT/ruby-2.6.6/ext/socket'
make[1]: Leaving directory '/tmp/ruby-build.20220907002247.108128.4LwGuT/ruby-2.6.6'
make: *** [uncommon.mk:286: build-ext] Error 2 |
Beta Was this translation helpful? Give feedback.
Answered by
hsbt
Sep 7, 2022
Replies: 1 comment
-
Unfortunately, Ubuntu 22.04 only provides OpenSSL 3.0.x. We couldn't build Ruby 2.6 on Ubuntu 22.04. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hsbt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, Ubuntu 22.04 only provides OpenSSL 3.0.x. We couldn't build Ruby 2.6 on Ubuntu 22.04.