https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17097754782017-06-13T13:54:10ZRuby Issue Tracking SystemRuby master - Feature #13653: Bundled zlib helperhttps://bugs.ruby-lang.org/issues/13653?journal_id=653582017-06-13T13:54:10Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul></ul><p>I think <code>--enable-bundled-zlib</code> should suppress looking for external libraries and headers, as well as fiddle and psych.</p> Ruby master - Feature #13653: Bundled zlib helperhttps://bugs.ruby-lang.org/issues/13653?journal_id=673342017-10-19T06:32:13Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li></ul> Ruby master - Feature #13653: Bundled zlib helperhttps://bugs.ruby-lang.org/issues/13653?journal_id=673792017-10-20T02:16:09Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul></ul><p>We took a look at this issue at yesterday's developer meeting.</p>
<p>It surprised me that currently, zlib and several other header files are mandatory for building ruby from the source. It might be trivial for developers like us, but not for everyone who try compiling ruby.</p>
<p>The solutions to cover this glitch might include:</p>
<ul>
<li>Ship zlib along with ruby. This menu has additional choice whether the bundled zlib shall be statically linked or not.</li>
<li>Fetch and compile zlib before building ruby, by the ruby-build script. This one needs to pass the result of zlib detection between ruby and ruby-build.</li>
</ul>
<p>Either way ext/zlib has to be aware of the situation. The OP's pull request is for that purpose.</p> Ruby master - Feature #13653: Bundled zlib helperhttps://bugs.ruby-lang.org/issues/13653?journal_id=673812017-10-20T02:37:31Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Target version</strong> set to <i>2.6</i></li></ul><p>To. shyouhei</p>
<p>Thanks for your explanation.</p>
<p>I updated my pull request. It only download and add zlib source files to ruby package(like tar ball)</p>
<p><a href="https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.diff" class="external">https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.diff</a></p>
<p>I try to this helper to ruby-build or add this feature to Ruby 2.6.</p> Ruby master - Feature #13653: Bundled zlib helperhttps://bugs.ruby-lang.org/issues/13653?journal_id=689312017-12-25T18:15:14Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Target version</strong> deleted (<del><i>2.6</i></del>)</li></ul> Ruby master - Feature #13653: Bundled zlib helperhttps://bugs.ruby-lang.org/issues/13653?journal_id=963242022-02-02T01:42:52Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>After 4 years, We should remove the bundled source code like zlib, libyaml, libffi.</p>
<p>for mswin users: use vcpkg, other platforms: use the official package manager like apt, dnf.</p> Ruby master - Feature #13653: Bundled zlib helperhttps://bugs.ruby-lang.org/issues/13653?journal_id=963442022-02-02T18:04:19ZEregon (Benoit Daloze)
<ul></ul><p>And for macOS: try to not mess up your system by installing random stuff in /usr/local, that's the source of many issues reported to <code>ruby-build</code>.<br>
Using Homebrew is fine (or MacPorts), but manually installing stuff in /usr/local is asking for trouble.</p>