Re: OSX 10.6 support
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 9 Oct 2013 16:07:55 +0000 (19:07 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:57:21 +0000 (09:57 -0800)
02/9f6cb8fef5d0fcd1341bcd9bfd7451d5084f66 [new file with mode: 0644]

diff --git a/02/9f6cb8fef5d0fcd1341bcd9bfd7451d5084f66 b/02/9f6cb8fef5d0fcd1341bcd9bfd7451d5084f66
new file mode 100644 (file)
index 0000000..69a4234
--- /dev/null
@@ -0,0 +1,101 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 31C46431FB6\r
+       for <notmuch@notmuchmail.org>; Wed,  9 Oct 2013 09:08:06 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id qoetJ+WpNQRs for <notmuch@notmuchmail.org>;\r
+       Wed,  9 Oct 2013 09:08:00 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id E53CF431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  9 Oct 2013 09:07:59 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 519E2100030;\r
+       Wed,  9 Oct 2013 19:07:55 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: ngreply <ngreply@gmx.net>, notmuch@notmuchmail.org\r
+Subject: Re: OSX 10.6 support\r
+In-Reply-To: <m2hacqo4lx.fsf@guru.guru-group.fi>\r
+References:\r
+ <CAMYZu8VB57ht_b4i7kWkRJ2Z4BOy+G27DXE8sn1ODKDcMG9YKQ@mail.gmail.com>\r
+       <1381329968134-4029043.post@n3.nabble.com>\r
+       <m2hacqo4lx.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.16+87~g451fefe (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Wed, 09 Oct 2013 19:07:55 +0300\r
+Message-ID: <m2eh7uo2as.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 09 Oct 2013 16:08:06 -0000\r
+\r
+On Wed, Oct 09 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+\r
+> On Wed, Oct 09 2013, ngreply <ngreply@gmx.net> wrote:\r
+>\r
+>> Hello,\r
+>>\r
+>> do not know, if it's done right, but this patch fixed my compilation of\r
+>> notmuch-0.16 on OSX 10.6:\r
+>>\r
+>> diff Makefile.local.org Makefile.local     \r
+>> 287c287\r
+>> <   $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $(notmuch_client_modules)\r
+>> $(FINAL_NOTMUCH_LDFLAGS) -o $@\r
+>> ---\r
+>>>    $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $(notmuch_client_modules)\r
+>>> util/libutil.a $(FINAL_NOTMUCH_LDFLAGS) -o $@ \r
+>>\r
+>\r
+> That is interesting; FINAL_NOTMUCH_LDFLAGS is defined as\r
+>\r
+> FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Lutil -lutil -Llib -lnotmuch ...\r
+>\r
+> (and, in my linux environment LDFLAGS is defined as empty string)\r
+>\r
+> In ./lib we have libnotmuch.a & libnotmuch.so but in ./util we (only)\r
+> have libutil.a -- for some reason OS X 10.6 (Snow Leopard) gcc (4.2.x IIRC)\r
+> doesn't use the static library ?\r
+>\r
+> Well, IMO having that util/libutil.a there is a tolerable workaround to get\r
+> notmuch 0.16 available in OSX 10.6...\r
+\r
+... I mean patching the (Make)file(.local) before compiling in OSX 10.6, not\r
+committing this particular change to notmuch git.\r
+>\r
+> Tomi\r
+\r
+Tomi\r
+\r
+>\r
+>>\r
+>> The same error about missing symbols while compiling target notmuch-shared\r
+>> came up when I've tried to install notmuch via Macports.\r
+>>\r
+>>   Thanks to all contributors for this great tool.\r
+>>\r
+>>   Regards, \r
+>>\r
+>>   Oliver\r