From: David Bremner Date: Mon, 20 May 2013 14:41:40 +0000 (+2100) Subject: Re: [PATCH 1/2] ruby: use in-tree notmuch library X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f226b2ee0924801833e75f7c3d26ad3bd101482;p=notmuch-archives.git Re: [PATCH 1/2] ruby: use in-tree notmuch library --- diff --git a/c5/fd2daf05f1917d08ab5c996ae49f73ec9e4d3e b/c5/fd2daf05f1917d08ab5c996ae49f73ec9e4d3e new file mode 100644 index 000000000..70cd99f32 --- /dev/null +++ b/c5/fd2daf05f1917d08ab5c996ae49f73ec9e4d3e @@ -0,0 +1,97 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 8C83C431FBC + for ; Mon, 20 May 2013 07:42:05 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id C-IvjxHIGXUf for ; + Mon, 20 May 2013 07:41:57 -0700 (PDT) +Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9C231431FB6 + for ; Mon, 20 May 2013 07:41:57 -0700 (PDT) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id r4KEflxs003664; + Mon, 20 May 2013 11:41:47 -0300 +Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.82.78] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1UeRHW-00071t-JA; Mon, 20 May 2013 11:41:47 -0300 +Received: from bremner by zancas.localnet with local (Exim 4.80) + (envelope-from ) + id 1UeRHQ-0006WA-Ph; Mon, 20 May 2013 11:41:40 -0300 +From: David Bremner +To: Felipe Contreras , notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] ruby: use in-tree notmuch library +In-Reply-To: <1369052664-17869-2-git-send-email-felipe.contreras@gmail.com> +References: <1369052664-17869-1-git-send-email-felipe.contreras@gmail.com> + <1369052664-17869-2-git-send-email-felipe.contreras@gmail.com> +User-Agent: Notmuch/0.15.2+84~g12d5e4e (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 20 May 2013 11:41:40 -0300 +Message-ID: <87vc6d90ij.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-Spam_bar: - +Cc: Ali Polatel +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Mon, 20 May 2013 14:42:05 -0000 + +Felipe Contreras writes: + +> Currently it simply finds any library available, and if notmuch is +> installed in the system, it would give priority to that library. +> + +I like the concept, but I get the following:=20 + +,---- +| =E2=95=AD=E2=94=80 zancas:upstream/notmuch/bindings/ruby=20 +| =E2=95=B0=E2=94=80 (git)-[rubytest]-% ruby extconf.rb=20 +| *** extconf.rb failed *** +| Could not create Makefile due to some reason, probably lack of +| necessary libraries and/or headers. Check the mkmf.log file for more +| details. You may need configuration options. +|=20 +| Provided configuration options: +| --with-opt-dir +| --without-opt-dir +| --with-opt-include +| --without-opt-include=3D${opt-dir}/include +| --with-opt-lib +| --without-opt-lib=3D${opt-dir}/lib +| --with-make-prog +| --without-make-prog +| --srcdir=3D. +| --curdir +| --ruby=3D/usr/bin/ruby1.9.1 +| extconf.rb:17:in `have_local_library': undefined method `funcall_style' f= +or "notmuch_database_create":String (NoMethodError) +| from extconf.rb:25:in `
' +`---- + +I have the ruby 1.9.3 development headers (at least "ruby extconf.rb" +works on master).