From: hanmac@... Date: 2017-06-09T06:25:02+00:00 Subject: [ruby-core:81628] [Ruby trunk Bug#13643] Cannot compile ruby 2.2.5, 2.3.3, 2.3.4 on debian stretch Issue #13643 has been updated by Hanmac (Hans Mackowiak). @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. ---------------------------------------- Bug #13643: Cannot compile ruby 2.2.5, 2.3.3, 2.3.4 on debian stretch https://bugs.ruby-lang.org/issues/13643#change-65325 * Author: andrevidic (Andre Vidic) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.2.5, 2.3.3, 2.3.4 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64 GNU/Linux ## Summary: 1. 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 2. v2.3.4 fails to compile (git cloned from https://github.com/ruby/ruby) 3. 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 -- https://bugs.ruby-lang.org/ Unsubscribe: