Bug #13643
closedCannot compile ruby 2.2.5, 2.3.3, 2.3.4 on debian stretch
Description
Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64 GNU/Linux
Summary:¶
- v2.2.5, v2.3.3 fail to compile using ruby build via rbenv. They do compile manually however but without openssl. See 1) for more details
- v2.3.4 fails to compile (git cloned from https://github.com/ruby/ruby)
- v2.4.1 works on stretch! Successfully installed using ruby-build via rbenv
Details:¶
1)¶
v2.2.5,ruby-build install failed. Then successfully compiled manually but with the following issues:¶
Failed to configure -test-/win32/console. It will not be installed.
Failed to configure -test-/win32/dln. It will not be installed.
Failed to configure -test-/win32/fd_setsize. It will not be installed.
Failed to configure openssl. It will not be installed.
Failed to configure tk. It will not be installed.
Failed to configure tk/tkutil. It will not be installed.
Failed to configure win32. It will not be installed.
Failed to configure win32ole. It will not be installed.
Full make log here: https://gist.github.com/drej2k/989b3475a538f658348da9e09c186fe3
v2.3.3,ruby-build install failed. Then successfully compiled manually but with the following issues:¶
Failed to configure openssl. It will not be installed.
Full make log here: https://gist.github.com/drej2k/30da45e342e60c72f19805b3535e0734
2)¶
v2.3.4, failed to compile (git cloned from https://github.com/ruby/ruby)¶
exts.mk:118: recipe for target 'ext/openssl/all' failed
make[1]: Leaving directory '/home/deploy/ruby'
uncommon.mk:240: recipe for target 'build-ext' failed
Full make log here: https://gist.github.com/drej2k/dee78dbb0a095296d70da48fa65fbee5
Updated by andrevidic (Andre Vidic) over 8 years ago
Full package list: https://gist.github.com/drej2k/d0362e8635e09d6ddbf9fca604c12c72
Updated by Hanmac (Hans Mackowiak) over 8 years ago
@andrevidic: i think there are some dependecies missing on your system to build ruby.
you can try apt-get build-dep ruby that should install the packages your system would need to build your ruby packages.
(might be older versions, but thats the first quess)
also if "Failed to configure" happens, than the make log is not that helpful.
there should be a config.log or something that says why it can't configure something.
Updated by rhenium (Kazuki Yamaguchi) over 8 years ago
- Status changed from Open to Rejected
The openssl extension of Ruby < 2.4 is not compatible with OpenSSL 1.1.
You can, however, install the 'libssl1.0-dev' package so that OpenSSL 1.0.2 is used instead.