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 1EA7A431FAF for ; Wed, 9 Oct 2013 08:18:18 -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=[none] 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 tOkVEHFFTvus for ; Wed, 9 Oct 2013 08:18:12 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 71018431FAE for ; Wed, 9 Oct 2013 08:18:12 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 2F94D100030; Wed, 9 Oct 2013 18:18:03 +0300 (EEST) From: Tomi Ollila To: ngreply , notmuch@notmuchmail.org Subject: Re: OSX 10.6 support In-Reply-To: <1381329968134-4029043.post@n3.nabble.com> References: <1381329968134-4029043.post@n3.nabble.com> User-Agent: Notmuch/0.16+87~g451fefe (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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, 09 Oct 2013 15:18:18 -0000 On Wed, Oct 09 2013, ngreply wrote: > Hello, > > do not know, if it's done right, but this patch fixed my compilation of > notmuch-0.16 on OSX 10.6: > > diff Makefile.local.org Makefile.local > 287c287 > < $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $(notmuch_client_modules) > $(FINAL_NOTMUCH_LDFLAGS) -o $@ > --- >> $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $(notmuch_client_modules) >> util/libutil.a $(FINAL_NOTMUCH_LDFLAGS) -o $@ > That is interesting; FINAL_NOTMUCH_LDFLAGS is defined as FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Lutil -lutil -Llib -lnotmuch ... (and, in my linux environment LDFLAGS is defined as empty string) In ./lib we have libnotmuch.a & libnotmuch.so but in ./util we (only) have libutil.a -- for some reason OS X 10.6 (Snow Leopard) gcc (4.2.x IIRC) doesn't use the static library ? Well, IMO having that util/libutil.a there is a tolerable workaround to get notmuch 0.16 available in OSX 10.6... Tomi > > The same error about missing symbols while compiling target notmuch-shared > came up when I've tried to install notmuch via Macports. > > Thanks to all contributors for this great tool. > > Regards, > > Oliver