ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:81660] [Ruby trunk Feature#13653] Bundled zlib helper
       [not found] <redmine.issue-13653.20170613120147@ruby-lang.org>
@ 2017-06-13 12:01 ` hsbt
  2017-06-13 13:54 ` [ruby-core:81663] " nobu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: hsbt @ 2017-06-13 12:01 UTC (permalink / raw)
  To: ruby-core

Issue #13653 has been reported by hsbt (Hiroshi SHIBATA).

----------------------------------------
Feature #13653: Bundled zlib helper
https://bugs.ruby-lang.org/issues/13653

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
----------------------------------------
I created experimentally implementation for zlib-binding helper of bundled build.

 * https://github.com/ruby/ruby/pull/1638
 * https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.patch

I also maintain ruby-build that is multi-platform build wrapper for ruby. I often got build failure
report caused to missing zlib headers. examples are here.

 * https://github.com/rbenv/ruby-build/issues/832
 * https://github.com/rbenv/ruby-build/issues/780

I hope to resolve this situation for ruby users.

my patch make to build zlib-binding with bundled zlib sources. It only enabled when It was given
`--enable-bundled-zlib` option with `configure` phase.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:81663] [Ruby trunk Feature#13653] Bundled zlib helper
       [not found] <redmine.issue-13653.20170613120147@ruby-lang.org>
  2017-06-13 12:01 ` [ruby-core:81660] [Ruby trunk Feature#13653] Bundled zlib helper hsbt
@ 2017-06-13 13:54 ` nobu
  2017-10-20  2:16 ` [ruby-core:83414] " shyouhei
  2017-10-20  2:37 ` [ruby-core:83416] " hsbt
  3 siblings, 0 replies; 4+ messages in thread
From: nobu @ 2017-06-13 13:54 UTC (permalink / raw)
  To: ruby-core

Issue #13653 has been updated by nobu (Nobuyoshi Nakada).


I think `--enable-bundled-zlib` should suppress looking for external libraries and headers, as well as fiddle and psych.

----------------------------------------
Feature #13653: Bundled zlib helper
https://bugs.ruby-lang.org/issues/13653#change-65358

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
----------------------------------------
I created experimentally implementation for zlib-binding helper of bundled build.

 * https://github.com/ruby/ruby/pull/1638
 * https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.patch

I also maintain ruby-build that is multi-platform build wrapper for ruby. I often got build failure
report caused to missing zlib headers. examples are here.

 * https://github.com/rbenv/ruby-build/issues/832
 * https://github.com/rbenv/ruby-build/issues/780

I hope to resolve this situation for ruby users.

my patch make to build zlib-binding with bundled zlib sources. It only enabled when It was given
`--enable-bundled-zlib` option with `configure` phase.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:83414] [Ruby trunk Feature#13653] Bundled zlib helper
       [not found] <redmine.issue-13653.20170613120147@ruby-lang.org>
  2017-06-13 12:01 ` [ruby-core:81660] [Ruby trunk Feature#13653] Bundled zlib helper hsbt
  2017-06-13 13:54 ` [ruby-core:81663] " nobu
@ 2017-10-20  2:16 ` shyouhei
  2017-10-20  2:37 ` [ruby-core:83416] " hsbt
  3 siblings, 0 replies; 4+ messages in thread
From: shyouhei @ 2017-10-20  2:16 UTC (permalink / raw)
  To: ruby-core

Issue #13653 has been updated by shyouhei (Shyouhei Urabe).


We took a look at this issue at yesterday's developer meeting.

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.

The solutions to cover this glitch might include:

- Ship zlib along with ruby.  This menu has additional choice whether the bundled zlib shall be statically linked or not.
- 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.

Either way ext/zlib has to be aware of the situation.  The OP's pull request is for that purpose.

----------------------------------------
Feature #13653: Bundled zlib helper
https://bugs.ruby-lang.org/issues/13653#change-67379

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
----------------------------------------
I created experimentally implementation for zlib-binding helper of bundled build.

 * https://github.com/ruby/ruby/pull/1638
 * https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.patch

I also maintain ruby-build that is multi-platform build wrapper for ruby. I often got build failure
report caused to missing zlib headers. examples are here.

 * https://github.com/rbenv/ruby-build/issues/832
 * https://github.com/rbenv/ruby-build/issues/780

I hope to resolve this situation for ruby users.

my patch make to build zlib-binding with bundled zlib sources. It only enabled when It was given
`--enable-bundled-zlib` option with `configure` phase.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:83416] [Ruby trunk Feature#13653] Bundled zlib helper
       [not found] <redmine.issue-13653.20170613120147@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2017-10-20  2:16 ` [ruby-core:83414] " shyouhei
@ 2017-10-20  2:37 ` hsbt
  3 siblings, 0 replies; 4+ messages in thread
From: hsbt @ 2017-10-20  2:37 UTC (permalink / raw)
  To: ruby-core

Issue #13653 has been updated by hsbt (Hiroshi SHIBATA).

Target version set to next minor

To. shyouhei

Thanks for your explanation.

I updated my pull request. It only download and add zlib source files to ruby package(like tar ball)

https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.diff

I try to this helper to ruby-build or add this feature to Ruby 2.6.

----------------------------------------
Feature #13653: Bundled zlib helper
https://bugs.ruby-lang.org/issues/13653#change-67381

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: next minor
----------------------------------------
I created experimentally implementation for zlib-binding helper of bundled build.

 * https://github.com/ruby/ruby/pull/1638
 * https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/1638.patch

I also maintain ruby-build that is multi-platform build wrapper for ruby. I often got build failure
report caused to missing zlib headers. examples are here.

 * https://github.com/rbenv/ruby-build/issues/832
 * https://github.com/rbenv/ruby-build/issues/780

I hope to resolve this situation for ruby users.

my patch make to build zlib-binding with bundled zlib sources. It only enabled when It was given
`--enable-bundled-zlib` option with `configure` phase.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-20  2:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-13653.20170613120147@ruby-lang.org>
2017-06-13 12:01 ` [ruby-core:81660] [Ruby trunk Feature#13653] Bundled zlib helper hsbt
2017-06-13 13:54 ` [ruby-core:81663] " nobu
2017-10-20  2:16 ` [ruby-core:83414] " shyouhei
2017-10-20  2:37 ` [ruby-core:83416] " hsbt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).