From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 743D5202DD for ; Fri, 20 Oct 2017 02:16:18 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 27863120A10; Fri, 20 Oct 2017 11:16:15 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 560F312099D for ; Fri, 20 Oct 2017 11:16:13 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=tOVPHA3lS+gSycy+IQWPAEQtNYU=; b=OHq/qzcWMShQoUXUW+ xfNrLZnuTQAn4/pBhS32mNUZafWVttIlB0THfnwUYIkY4YmHQPra+XC6VRGQfC0s t42ZfDqKFSJ9xoa0qvGWWted7szqOy/D5fbh6cwCLYOWxyvjbrnTBPd5S2RRVfO6 3Jm2IWiRAGRBkBV7Bjf/BoqqQ= Received: by filter0013p3iad2.sendgrid.net with SMTP id filter0013p3iad2-3838-59E95C69-15 2017-10-20 02:16:09.864310985 +0000 UTC Received: from herokuapp.com (ec2-54-157-23-68.compute-1.amazonaws.com [54.157.23.68]) by ismtpd0005p1iad2.sendgrid.net (SG) with ESMTP id jB4wyK_1QbmtC_0TCRROXg for ; Fri, 20 Oct 2017 02:16:10.077 +0000 (UTC) Date: Fri, 20 Oct 2017 02:16:10 +0000 (UTC) From: shyouhei@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 58522 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13653 X-Redmine-Issue-Author: hsbt X-Redmine-Issue-Assignee: hsbt X-Redmine-Sender: shyouhei X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7PvQ9RjNoyLJvYkz47vSqmF2XBR9IrLXV0BJ CkTU0qJlOTYX2FwZQNZze28+5MqlYmZ1xFAB4dj6CtlnIAJtVvsoJ2fOZh7kE8U/VljgMPufEYVqDj HKMD9L0lOB6r5Y8vzddy1okCnLi2JP9lUxTOk5V8LWZ1a7isV+PV01x26w== X-ML-Name: ruby-core X-Mail-Count: 83414 Subject: [ruby-core:83414] [Ruby trunk Feature#13653] Bundled zlib helper X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "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/