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 818B54196F0 for ; Tue, 27 Apr 2010 19:39:28 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FREEMAIL_FROM=0.001] autolearn=ham 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 SRxqxF9JRG5y for ; Tue, 27 Apr 2010 19:39:27 -0700 (PDT) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by olra.theworths.org (Postfix) with ESMTP id 24057431FC1 for ; Tue, 27 Apr 2010 19:39:27 -0700 (PDT) Received: by wwi18 with SMTP id 18so1690768wwi.26 for ; Tue, 27 Apr 2010 19:39:26 -0700 (PDT) Received: by 10.216.90.20 with SMTP id d20mr3410677wef.29.1272422366260; Tue, 27 Apr 2010 19:39:26 -0700 (PDT) Received: from DarrensMacBookPro (dan75-7-88-166-185-201.fbx.proxad.net [88.166.185.201]) by mx.google.com with ESMTPS id z3sm10084833wbs.16.2010.04.27.19.39.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Apr 2010 19:39:25 -0700 (PDT) From: Darren Shepard To: notmuch@notmuchmail.org Subject: A few Mac OS X snags and how I dealt User-Agent: Notmuch/0.2-206-g975307c (http://notmuchmail.org) Emacs/23.1.1 (i386-apple-darwin9.8.0) Date: Wed, 28 Apr 2010 04:39:13 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Wed, 28 Apr 2010 02:39:28 -0000 Just giving notmuch a try for the first time. I had heard it was kind of rough but so far its exceeded my expectations. So bravo to you guys. I did have a few issues getting it to build on Mac OS X though, so thought I would contribute back the details. First the requirements. I installed Xapian and GMime from MacPorts, but there is no port for Talloc. So I went to installing Talloc from the source on talloc.samba.org. Make sure you get talloc-1.3.1.tar.gz - I first tried talloc-2.0.1.tar.gz and was getting link errors (__talloc_steal and _talloc_free as I recall) when building notmuch. Also, there seems to be a problem with the talloc Makefile that configure generates, I had to make this change to get it working: $(TALLOC_SOLIB): $(LIBOBJ) - $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TALLOC_SONAME) + $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG) After that Talloc should build and install. Then onto building notmuch. I had to add '/usr/local/lib/pkgconfig' to my PKG_CONFIG_PATH so that notmuch's configure could find the Talloc lib, but other than that it just worked. Darren