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 C33A46DE0AF8 for ; Sat, 13 Jun 2015 14:35:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.561 X-Spam-Level: X-Spam-Status: No, score=-0.561 tagged_above=-999 required=5 tests=[AWL=-0.010, 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 zob22fQF5gCb for ; Sat, 13 Jun 2015 14:35:02 -0700 (PDT) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by arlo.cworth.org (Postfix) with ESMTPS id 058C46DE0948 for ; Sat, 13 Jun 2015 14:35:02 -0700 (PDT) Received: by pdbki1 with SMTP id ki1so45622867pdb.1 for ; Sat, 13 Jun 2015 14:35:01 -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=FI2p8vVXQG7PiPrUj5REqeB1aXauhXBLsrh6n8Ray7U=; b=kQW8BS+SF+k8vG+uMeMnP/B53CVwzYBCnyMT7McZj0zF5qBOehTRlwS/AFg9WlxtD1 yyshd7CFk5gKWUuz7L1hyY/UokvEmqmM3W1nKgvbPFPXzxdMobbwaD2tq/eb1lQSrX2M uFNpXrvz2cTkArlmXoMdAOsWicLIhrAatbh1LpMIbhQiYZGgPYRM8wHLp2reWxzWu4e8 824buefJZEN7fZlwTduO+WzIibEk1sX7+1Sw5cFF2CDK93vLjriRDIcIMvWn16Vv7kGm 1kBjCY3aV1fWNEx0/J/4VuNN2VcCd6q1W2FCatrFkxGRFseC+rJ0O1R51EvliVDtIwh3 53qQ== X-Received: by 10.68.87.35 with SMTP id u3mr34586209pbz.127.1434231301754; Sat, 13 Jun 2015 14:35:01 -0700 (PDT) Received: from localhost ([2601:647:4b02:71ea:b00c:9bdd:d6e7:4a42]) by mx.google.com with ESMTPSA id g10sm7579290pat.35.2015.06.13.14.34.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Jun 2015 14:34:59 -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> <87bngj9uvv.fsf@maritornes.cs.unb.ca> User-Agent: Notmuch/0.20.1+21~g4e79903 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-apple-darwin14.3.0) Date: Sat, 13 Jun 2015 14:34:57 -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 21:35:03 -0000 On Sat, Jun 13, 2015 at 02:24 PM, Jinwoo Lee wrote: > That error is from 'cd bindings/ruby && ruby extconf.rb --vendor' BTW. The contents of mkmf.log are below. It shows a warning about -L/usr/local/lib and I don't have the directory /usr/local/lib on my machine. I'm not sure if that's the cause of the error though. I don't write Ruby and know nothing about it. "xcrun clang -o conftest -I../../lib -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin14 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib -L. -L/usr/local/lib -Wl,--no-undefined -arch x86_64 -arch i386 -lruby.2.0.0 -lpthread -ldl -lobjc " ld: warning: directory not found for option '-L/usr/local/lib' ld: unknown option: --no-undefined clang: error: linker command failed with exit code 1 (use -v to see invocation) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */