From: Jinwoo Lee Date: Sat, 13 Jun 2015 20:46:00 +0000 (+1700) Subject: Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3cd074d36d8458f95c85244506f9f63bcffe7e28;p=notmuch-archives.git Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process --- diff --git a/2d/a4fc9c516e14fe10f3a5828164735436eaf937 b/2d/a4fc9c516e14fe10f3a5828164735436eaf937 new file mode 100644 index 000000000..24f9d4890 --- /dev/null +++ b/2d/a4fc9c516e14fe10f3a5828164735436eaf937 @@ -0,0 +1,98 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 6356E6DE0AF8 + for ; Sat, 13 Jun 2015 13:46:08 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.551 +X-Spam-Level: +X-Spam-Status: No, score=-0.551 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id taFG5j1XaVdl for ; + Sat, 13 Jun 2015 13:46:06 -0700 (PDT) +Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com + [209.85.192.178]) + by arlo.cworth.org (Postfix) with ESMTPS id CC2556DE0948 + for ; Sat, 13 Jun 2015 13:46:05 -0700 (PDT) +Received: by pdjm12 with SMTP id m12so45089055pdj.3 + for ; Sat, 13 Jun 2015 13:46:05 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type; + bh=ys/NS+EL/gh+9amqDKqk9hHh8/oMHEdS+Hcteqrsf4k=; + b=R7D2mFX+xvhWx/z8i9VnjG51N2OUgiuVFuHDsPhY3NoHxFY4ZQGkM5zadcYJiXZBkX + H7VEtFpmBlHlT/mMmfk0ItzxG72iI6Hrvd0sTcAfh3UWRKTpcW9/sEd0uPtG7GQMJ6rx + 3jlNE+NPOCZ8heXGxKpf7dOzo7MnbZUxx6RN7pOpxNkjnCTwsPPZGYtpxlpmq2e7yTCJ + kTUTH7mX+JEaQHLlbECZoLvL9YQm3ByT2oFlRLvS0Z2KRlW0bHPP6K745G68jq4S+qHJ + QeASREzw0v0A5YM1OA2JH7duwkn/zylpv0h4OGdE3/NC9M45fICBZuxqc00SrWaJ9YWn + wPtw== +X-Received: by 10.67.2.98 with SMTP id bn2mr34897877pad.83.1434228365529; + Sat, 13 Jun 2015 13:46:05 -0700 (PDT) +Received: from localhost ([2601:647:4b02:71ea:b00c:9bdd:d6e7:4a42]) + by mx.google.com with ESMTPSA id fo5sm7490665pbb.41.2015.06.13.13.46.02 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sat, 13 Jun 2015 13:46:03 -0700 (PDT) +From: Jinwoo Lee +To: David Bremner , notmuch@notmuchmail.org +Subject: Re: [patch v3 1/4] build: integrate building ruby bindings into + notmuch build process +In-Reply-To: +References: <1425679073-30439-5-git-send-email-david@tethera.net> + <1433142542-2307-1-git-send-email-david@tethera.net> + <1433142542-2307-2-git-send-email-david@tethera.net> + <87zj4415bu.fsf@maritornes.cs.unb.ca> + +User-Agent: Notmuch/0.20.1+19~g32fd74b (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-apple-darwin14.3.0) +Date: Sat, 13 Jun 2015 13:46:00 -0700 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 13 Jun 2015 20:46:08 -0000 + +On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee wrote: +> This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it +> should be lib/libnotmuch.dylib on OS X. +> +> That makes `make' and `make install' fail. + +Even after I update the dependency to lib/libnotmuch.dylib, building +ruby-bindings fails because I don't have the ruby development tools +installed on my machine. + +I with configure has an option to skip the ruby-bindings build. + +> +> On Fri, Jun 12, 2015 at 11:37 PM, David Bremner wrote: +>> David Bremner writes: +>> +>>> Because ruby generates a Makefile, we have to use recursive make. +>>> Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} +>>> in the parent directory. +>> +>> Pushed the first patch in the series. Let's see if anything breaks. +>> +>> d +>> _______________________________________________ +>> notmuch mailing list +>> notmuch@notmuchmail.org +>> http://notmuchmail.org/mailman/listinfo/notmuch