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 23249431FAF for ; Mon, 23 Apr 2012 05:48:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 IZfKexKQTTWt for ; Mon, 23 Apr 2012 05:48:42 -0700 (PDT) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id EB858431FAE for ; Mon, 23 Apr 2012 05:48:41 -0700 (PDT) Received: by eaa1 with SMTP id 1so4851107eaa.26 for ; Mon, 23 Apr 2012 05:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1vXQLlgchh7PYyzEFyVlPVr1OPTKpvAJtCwRBSnUaXQ=; b=T/uMKdH8batyevV95ibMhQUTb9/u0uO2VRVJREY0NOjJfshZtsXGLtFv/JkWi4jTqs YL0ukK3KDN2Dx2UAU1F0WvPJ4aLJW68GZ1dnoYwpk/EhmKtBYs8qw+EC7HhdUQ2rZSUQ aFAJxR1tcx0ZMEOTgkvR0e6BSRrhDdyCPnQiHHVcxZ7l4U2DVjREIgOXUKjjNVsDigZi PCcqAjL0cXgn8HLGKHLL4bPetw3NA8v+UEqTXqESLeVnWBknSb1MCM9dUy4/i31bI/vs I4YF/YKR/7K+8o2dErT8te1xjnwLZCAXkTZo9BidvLuQda0nPOXwYIdPZHuMObAkZOpK 9hyg== MIME-Version: 1.0 Received: by 10.213.104.132 with SMTP id p4mr1201326ebo.101.1335185320635; Mon, 23 Apr 2012 05:48:40 -0700 (PDT) Received: by 10.213.103.18 with HTTP; Mon, 23 Apr 2012 05:48:40 -0700 (PDT) In-Reply-To: <20120423093933.GQ954@spodder.com> References: <20120423093933.GQ954@spodder.com> Date: Mon, 23 Apr 2012 15:48:40 +0300 Message-ID: Subject: Re: ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby bindings) From: Felipe Contreras To: Charlie Allom Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Ali Polatel , notmuch@notmuchmail.org 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, 23 Apr 2012 12:48:43 -0000 On Mon, Apr 23, 2012 at 12:39 PM, Charlie Allom wrote= : > /opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwi= n11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE =C2=A0-I/op= t/local/include -fno-common -pipe -O2 -arch x86_64 =C2=A0-fno-common -pipe = -fno-common =C2=A0-arch x86_64 -c database.c Where is the output file defined? There should be a -o database.o there. We= ird. This is what I have in my machine: gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -I../../lib -fPIC -march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector --param=3Dssp-buffer-size=3D4 -D_FORTIFY_SOURCE=3D2 -fPIC -o messages.o -c messages.c --=20 Felipe Contreras