BUILD FAILED (Raspbian 11 using ruby-build 20230717-7-gf170c16) #2235
-
|
I followed all the steps using the git clone method but when I get to the rbenv install I get this error: Logs I found out it had something to do with trying to install armv7 on an aarch64 (what I am using). So I checked some things and got this Toolchain Made sure it was in my system path Tried Code with information Tried another type |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Same issue with Rapsbian 12.1 and a Raspberry Pi 4 Model B Rev 1.5. Host Arch Compiler Try with no RUBY_CONFIGURE_OPTS Try with RUBY_CONFIGURE_OPTS=--with-coroutine=arm32 Compilation is OK with "--with-coroutine=arm32". |
Beta Was this translation helpful? Give feedback.
-
|
It fails because of some missed dependencies sudo apt-get install libssl-dev zlib1g-dev libyaml-dev
rbenv install 3.3.5 |
Beta Was this translation helpful? Give feedback.
Fix my issue by forcing the build with arm 32 bits architecture
RUBY_CONFIGURE_OPTS="--with-openssl-dir=/home/mastodon/.rbenv/versions/3.0.6/openssl --target=arm-linux --host=arm-linux" rbenv install 3.0.6