1 Return-Path: <jinwoo68@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id BF78B6DE0AF8
\r
6 for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 14:22:31 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.568 tagged_above=-999 required=5 tests=[AWL=0.002,
\r
12 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
\r
14 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]
\r
16 Received: from arlo.cworth.org ([127.0.0.1])
\r
17 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
18 with ESMTP id PKFhDJ8tDzBj for <notmuch@notmuchmail.org>;
\r
19 Sat, 13 Jun 2015 14:22:29 -0700 (PDT)
\r
20 Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com
\r
22 by arlo.cworth.org (Postfix) with ESMTPS id C5B896DE0948
\r
23 for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 14:22:29 -0700 (PDT)
\r
24 Received: by pacgb13 with SMTP id gb13so11372975pac.1
\r
25 for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 14:22:29 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
28 :mime-version:content-type;
\r
29 bh=ScZRv5ZvZyLIckfYWQ8C/8iF9J5VWUgR56A/Y5H2lPE=;
\r
30 b=rCTs5bN9fT2dQg/XTB7DWJU+bCBySHeduoTdyXdI53sep9icCnLwFhvvWeuhRG98uU
\r
31 7AdwsnjcoDzLgGs04aINNJylqiEHYXicDZiWIoKKSrFA2qiAr/SpRJ+pD5LegQ+wNVei
\r
32 Td1Z0LPcWR6RXePw6ydqVKUnYgLXabNTFB3JQnamAe/Ldog+DXR+ryuIsCtc0KZZn9O7
\r
33 9w9hyTtqglRpcmyEAE/BF3RrIpR21RmQikKSfRacYo9fjwjk3MzMKftRq04IbAbO3prD
\r
34 vuGcahQxyBo3KBLk4kk6tIlECoPA18bMZL0ya62EQtKGoZHAiec5p7QIdYaa7qY+VUs8
\r
36 X-Received: by 10.66.65.134 with SMTP id x6mr33824621pas.129.1434230549480;
\r
37 Sat, 13 Jun 2015 14:22:29 -0700 (PDT)
\r
38 Received: from localhost ([2601:647:4b02:71ea:b00c:9bdd:d6e7:4a42])
\r
39 by mx.google.com with ESMTPSA id pz9sm7509485pbb.93.2015.06.13.14.22.26
\r
40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
41 Sat, 13 Jun 2015 14:22:27 -0700 (PDT)
\r
42 From: Jinwoo Lee <jinwoo68@gmail.com>
\r
43 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
44 Subject: Re: [patch v3 1/4] build: integrate building ruby bindings into
\r
45 notmuch build process
\r
46 In-Reply-To: <87bngj9uvv.fsf@maritornes.cs.unb.ca>
\r
47 References: <1425679073-30439-5-git-send-email-david@tethera.net>
\r
48 <1433142542-2307-1-git-send-email-david@tethera.net>
\r
49 <1433142542-2307-2-git-send-email-david@tethera.net>
\r
50 <87zj4415bu.fsf@maritornes.cs.unb.ca>
\r
51 <yq65vberz8ew.fsf@jinwoo-macbookair.roam.corp.google.com>
\r
52 <yq65si9vz69j.fsf@jinwoo-macbookair.roam.corp.google.com>
\r
53 <yq65pp4zz617.fsf@jinwoo-macbookair.roam.corp.google.com>
\r
54 <87bngj9uvv.fsf@maritornes.cs.unb.ca>
\r
55 User-Agent: Notmuch/0.20.1+21~g4e79903 (http://notmuchmail.org) Emacs/24.5.1
\r
56 (x86_64-apple-darwin14.3.0)
\r
57 Date: Sat, 13 Jun 2015 14:22:25 -0700
\r
58 Message-ID: <yq654mmbnw1a.fsf@jinwoo-macbookair.roam.corp.google.com>
\r
60 Content-Type: text/plain
\r
61 X-BeenThere: notmuch@notmuchmail.org
\r
62 X-Mailman-Version: 2.1.18
\r
64 List-Id: "Use and development of the notmuch mail system."
\r
65 <notmuch.notmuchmail.org>
\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
69 List-Post: <mailto:notmuch@notmuchmail.org>
\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
72 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
73 X-List-Received-Date: Sat, 13 Jun 2015 21:22:31 -0000
\r
75 On Sat, Jun 13, 2015 at 02:11 PM, David Bremner <david@tethera.net> wrote:
\r
76 > Jinwoo Lee <jinwoo68@gmail.com> writes:
\r
78 >>> I with configure has an option to skip the ruby-bindings build.
\r
80 >> `configure' seems to try to detect whether the ruby development tools
\r
81 >> are installed. It thinks I have them but I don't actually, and that's
\r
82 >> why my build fails. When I manually set 'HAVE_RUBY_DEV = 0' in
\r
83 >> Makefile.config, everything's fine.
\r
85 > Thanks for narrowing this down. Can you tell us the output of
\r
87 > % ruby -e "require 'mkmf'" ; echo $?
\r
89 This command succeeds and returns 0.
\r
91 When I change the dependency of ruby-bindings from libnotmuch.so to
\r
92 libnotmuch.dylib and run `make', I get errors like below.
\r
94 Looks like mkmf.rb (I have no idea what this is) is provided by OS X by
\r
95 default, but actually running it fails.
\r
100 checking for notmuch_database_create in libnotmuch.so... *** extconf.rb failed ***
\r
101 Could not create Makefile due to some reason, probably lack of necessary
\r
102 libraries and/or headers. Check the mkmf.log file for more details. You may
\r
103 need configuration options.
\r
105 Provided configuration options:
\r
109 --without-opt-include=${opt-dir}/include
\r
111 --without-opt-lib=${opt-dir}/lib
\r
113 --without-make-prog
\r
116 --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
\r
117 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:434:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
\r
118 You have to install development tools first.
\r
119 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:513:in `block in try_link0'
\r
120 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:88:in `mktmpdir'
\r
121 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:510:in `try_link0'
\r
122 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:534:in `try_link'
\r
123 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:720:in `try_func'
\r
124 from extconf.rb:19:in `block in have_local_library'
\r
125 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:895:in `block in checking_for'
\r
126 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:340:in `block (2 levels) in postpone'
\r
127 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:310:in `open'
\r
128 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:340:in `block in postpone'
\r
129 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:310:in `open'
\r
130 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:336:in `postpone'
\r
131 from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mkmf.rb:894:in `checking_for'
\r
132 from extconf.rb:17:in `have_local_library'
\r
133 from extconf.rb:25:in `<main>'
\r
134 make: *** [ruby-bindings] Error 1
\r