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 54DD0431FBF; Sat, 21 Nov 2009 10:51:40 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 RLZsTBAeFK2K; Sat, 21 Nov 2009 10:51:39 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2D9F8431FAE; Sat, 21 Nov 2009 10:51:39 -0800 (PST) From: Carl Worth To: Saptarshi Guha , notmuch@notmuchmail.org In-Reply-To: References: Date: Sat, 21 Nov 2009 19:51:27 +0100 Message-ID: <877htj4spc.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] Problem Building on OSX leopard 10.5.8 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 21 Nov 2009 18:51:40 -0000 On Wed, 18 Nov 2009 12:47:47 -0500, Saptarshi Guha wrote: > Having given up on most email clients yet trapped by them, I came > across notmuch. > Quite eager to build, Hi Saptarshi, Welcome to notmuch! I hope you find it helpful. > In the INSTALL/README file, mention that xapian-config should be on path > and that it be called xapian-config. > When I installed the latest, it was installed in /usr/local/bin (not > in my path) > at xapian-config-1.1 OK. I've added that now. > 2. download gmime (no problem here) Good news. > 3. Install talloc (the makefile has errors in it) What's the error here? (Not that it's our bug, but it would be nice to report it to the talloc folks or perhaps warn notmuch users about it). > lib/index.cc: In function void > _index_address_mailbox(notmuch_message_t*, const char*, > InternetAddress*): > lib/index.cc:46: error: strndup was not declared in this scope Some systems (including yours) don't have a strndup function. One proposed plan is to put an implementation of strndup into notmuch, (it's not a complex function). But then again, we could just change the caller to use talloc_strndup instead. Portability patches are always welcome, (otherwise I'll try to do things when I can but I won't be able to test things well). -Carl