[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / a6 / b30007f3bc02eb87a306cf330b159386a4adcc
1 Return-Path: <nate4d@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 934B56DE13AF\r
6  for <notmuch@notmuchmail.org>; Tue,  2 Jun 2015 13:41:04 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.152\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.152 tagged_above=-999 required=5 tests=[AWL=0.529,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001,\r
14  T_FREEMAIL_FORGED_FROMDOMAIN=0.01, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01]\r
15  autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id VvXD1-AVTAUi for <notmuch@notmuchmail.org>;\r
19  Tue,  2 Jun 2015 13:41:02 -0700 (PDT)\r
20 Received: from mail-qg0-f50.google.com (mail-qg0-f50.google.com\r
21  [209.85.192.50])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id 175E76DE13A3\r
23  for <notmuch@notmuchmail.org>; Tue,  2 Jun 2015 13:41:02 -0700 (PDT)\r
24 Received: by qgfa63 with SMTP id a63so64110645qgf.0\r
25  for <notmuch@notmuchmail.org>; Tue, 02 Jun 2015 13:41:01 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27  h=sender:from:content-type:content-transfer-encoding:subject:date\r
28  :message-id:to:mime-version;\r
29  bh=uQQ0U4sr+yOjSsBfoFnWS5g/379EJRyvO3wmq2d0syo=;\r
30  b=Pw0FkZNQ4vlMKojXUMbXehV7FhUanc4EjGF5gdkxYlEN+V2KW/48455IY0dU1qIvgM\r
31  HOnX+XwttoEUgkeTP95a5qtMl2n3aERFKpoS2TxFC7tOJQdP0cVbicDr8MHMvjCgbXOG\r
32  hUsFlxQq9ZnZ07CgTU80pjwHO1095WUjqQ83qStOK5PzLj5xdw4R9VH53s3MvKYIv8Bh\r
33  6HSnzaIcC7bmh13+hbQN5Sy/+sbnesZfQqL6tBME2VpjfMHDJOIkZgz/U7XGAzvCVLtN\r
34  ka3H2iW8qdrBzEGQ/QL+8v3yPXciqS6hNyktQajhqmvzoDVVjlJ5VSYRxmR7rEE6kkjT\r
35  7tCg==\r
36 X-Received: by 10.55.40.199 with SMTP id o68mr37950813qko.23.1433277661266;\r
37  Tue, 02 Jun 2015 13:41:01 -0700 (PDT)\r
38 Received: from [10.46.105.6] ([70.42.157.61])\r
39  by mx.google.com with ESMTPSA id p36sm1229539qkp.11.2015.06.02.13.40.58\r
40  for <notmuch@notmuchmail.org>\r
41  (version=TLSv1 cipher=RC4-SHA bits=128/128);\r
42  Tue, 02 Jun 2015 13:40:59 -0700 (PDT)\r
43 Sender: Nathan Eagleson <nate4d@gmail.com>\r
44 From: Nate Eagleson <nate@nateeag.com>\r
45 Content-Type: text/plain; charset=us-ascii\r
46 Content-Transfer-Encoding: quoted-printable\r
47 Subject: build failures on Mac OS X 10.6.8 - diagnosis\r
48 Date: Tue, 2 Jun 2015 16:40:59 -0400\r
49 Message-Id: <7156CF8E-BE69-48C0-ACB8-88C7E68CD4BB@nateeag.com>\r
50 To: notmuch@notmuchmail.org\r
51 Mime-Version: 1.0 (Apple Message framework v1085)\r
52 X-Mailer: Apple Mail (2.1085)\r
53 X-BeenThere: notmuch@notmuchmail.org\r
54 X-Mailman-Version: 2.1.18\r
55 Precedence: list\r
56 List-Id: "Use and development of the notmuch mail system."\r
57  <notmuch.notmuchmail.org>\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
59  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
61 List-Post: <mailto:notmuch@notmuchmail.org>\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
64  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
65 X-List-Received-Date: Tue, 02 Jun 2015 20:41:04 -0000\r
66 \r
67 Hi folks,\r
68 \r
69 I'm trying to move from Apple's Mail.app in favor of =\r
70 offlineimap/notmuch, but\r
71 I've run into a build failure on Mac OS X 10.6.8.\r
72 \r
73 The failure was reported on this list a few months ago, but no =\r
74 explanation or\r
75 solution was found:\r
76 \r
77 http://notmuchmail.org/pipermail/notmuch/2015/020531.html\r
78 \r
79 By appending `-Wl,-t` to `FINAL_NOTMUCH_LDFLAGS` in Makefile.local, I\r
80 got 10.6.8's ld to dump the list of archives and dylibs that are being\r
81 linked in the failed compile.\r
82 \r
83 That list includes `/usr/lib/libutil.dylib`, but not notmuch's built-in\r
84 `util/libutil.a`.\r
85 \r
86 I have not found a sane way to tell 10.6.8's ld to prefer libutil.a over\r
87 libutil.dylib.\r
88 \r
89 My first thought was that there should be an option to prefer archives =\r
90 over\r
91 dylibs, but that does not seem to exist in 10.6.8's version of ld.\r
92 \r
93 Instead, people are recommending absolute paths when you need to link an\r
94 archive file in preference to existing dylibs:\r
95 \r
96 =\r
97 http://lists.apple.com/archives/darwin-development/2003/Sep/msg00008.html\r
98 http://stackoverflow.com/questions/844819/how-to-static-link-on-os-x\r
99 \r
100 As a simple test, I hardcoded an absolute path to libutil in\r
101 FINAL_NOTMUCH_LDFLAGS, and the compile succeeded.\r
102 \r
103 So, it seems like getting the path to the Makefile's parent directory =\r
104 and\r
105 using it to specify an absolute path to libutil.a would address this =\r
106 issue without\r
107 introducing new ones.\r
108 \r
109 Does this sound like a sane solution? Would a patch to do this be =\r
110 accepted?\r
111 \r
112 If not, what would be a better way to solve this?\r
113 \r
114 Thanks.\r
115 \r
116 -Nate\r
117 \r