Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 27 / 3da83889bca9a5b6389476c2e1fa4763954fca
1 Return-Path: <steen@manniche.net>\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 olra.theworths.org (Postfix) with ESMTP id 51B5C431FBC\r
6         for <notmuch@notmuchmail.org>; Tue,  1 Dec 2009 01:32:18 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id ZPI8HGrDQFFk for <notmuch@notmuchmail.org>;\r
11         Tue,  1 Dec 2009 01:32:17 -0800 (PST)\r
12 Received: from mout.perfora.net (mout.perfora.net [74.208.4.195])\r
13         by olra.theworths.org (Postfix) with ESMTP id 8729E431FAE\r
14         for <notmuch@notmuchmail.org>; Tue,  1 Dec 2009 01:32:17 -0800 (PST)\r
15 Received: from pasmtpA.tele.dk (pasmtpa.tele.dk [80.160.77.114])\r
16         by mx.perfora.net (node=mxus0) with ESMTP (Nemesis)\r
17         id 0MAP9G-1NQvPO2JGE-00B7Sr for notmuch@notmuchmail.org;\r
18         Tue, 01 Dec 2009 04:32:17 -0500\r
19 Received: from algorithm\r
20         (0x5da31b52.cpe.ge-1-1-0-1110.oebrnqu2.customer.tele.dk\r
21         [93.163.27.82])\r
22         by pasmtpA.tele.dk (Postfix) with ESMTP id 48855800333\r
23         for <notmuch@notmuchmail.org>; Tue,  1 Dec 2009 10:32:14 +0100 (CET)\r
24 Date: Tue, 1 Dec 2009 10:33:05 +0100\r
25 From: Steen Manniche <steen@manniche.net>\r
26 To: notmuch@notmuchmail.org\r
27 Message-ID: <20091201093305.GA16198@algorithm>\r
28 MIME-Version: 1.0\r
29 Content-Type: text/plain; charset=utf-8\r
30 Content-Disposition: inline\r
31 User-Agent: Mutt/1.5.20 (2009-06-14)\r
32 X-Mailman-Approved-At: Tue, 01 Dec 2009 07:15:06 -0800\r
33 Subject: [notmuch] Problem building notmuch\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.12\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38         <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Tue, 01 Dec 2009 09:32:18 -0000\r
47 \r
48 Hi list,\r
49 \r
50 I've been trying to install notmuch but I ran into problems related to\r
51 talloc and, seemingly with notmuch's understanding of the talloc.h\r
52 file.\r
53 \r
54 ./configure affirms that all needed headers are installed:\r
55 \r
56 [...]\r
57 Checking for Xapian development files... Yes.\r
58 Checking for GMime 2.4 development files... Yes.\r
59 Checking for talloc development files... Yes.\r
60 Checking for valgrind development files... No.\r
61 [...]\r
62 \r
63 but then make complains:\r
64 [...]\r
65   CC    lib/xutil.o\r
66   CXX   lib/database.o\r
67   CXX   lib/index.o\r
68   CXX   lib/message.o\r
69   CXX   lib/query.o\r
70   CXX   lib/thread.o\r
71   AR    lib/notmuch.a\r
72   CXX   notmuch\r
73 notmuch.o: In function `main':\r
74 notmuch.c:(.text+0x326): undefined reference to `_talloc_free'\r
75 notmuch-config.o: In function `notmuch_config_set_user_other_email':\r
76 notmuch-config.c:(.text+0x42): undefined reference to `_talloc_free'\r
77 notmuch-config.o: In function `notmuch_config_close':\r
78 notmuch-config.c:(.text+0x75): undefined reference to `_talloc_free'\r
79 notmuch-config.o: In function `notmuch_config_set_user_primary_email':\r
80 notmuch-config.c:(.text+0x1ab): undefined reference to `_talloc_free'\r
81 notmuch-config.o: In function `notmuch_config_set_user_name':\r
82 notmuch-config.c:(.text+0x1fb): undefined reference to `_talloc_free'\r
83 notmuch-config.o:notmuch-config.c:(.text+0x24b): more undefined\r
84 references to `_talloc_free' follow\r
85 lib/notmuch.a(database.o): In function\r
86 `_resolve_message_id_to_thread_id(_notmuch_database*, void*, char\r
87 const*)':\r
88 database.cc:(.text+0x186e): undefined reference to `_talloc_steal_loc'\r
89 lib/notmuch.a(database.o): In function\r
90 `_my_talloc_free_for_g_hash(void*)':\r
91 database.cc:(.text+0x1a4c): undefined reference to `_talloc_free'\r
92 lib/notmuch.a(database.o): In function `notmuch_database_add_message':\r
93 database.cc:(.text+0x20e7): undefined reference to `_talloc_free'\r
94 database.cc:(.text+0x216b): undefined reference to `_talloc_free'\r
95 lib/notmuch.a(message.o): In function `_notmuch_message_create':\r
96 message.cc:(.text+0x1ee): undefined reference to `_talloc_free'\r
97 lib/notmuch.a(message.o): In function\r
98 `_notmuch_message_create_for_message_id':\r
99 message.cc:(.text+0x299): undefined reference to `_talloc_steal_loc'\r
100 message.cc:(.text+0x372): undefined reference to `_talloc_free'\r
101 lib/notmuch.a(message.o): In function `_notmuch_message_set_filename':\r
102 message.cc:(.text+0xd9e): undefined reference to `_talloc_free'\r
103 lib/notmuch.a(message.o): In function `_notmuch_message_add_term':\r
104 message.cc:(.text+0x157e): undefined reference to `_talloc_free'\r
105 lib/notmuch.a(message.o): In function `_notmuch_message_remove_term':\r
106 message.cc:(.text+0x193b): undefined reference to `_talloc_free'\r
107 lib/notmuch.a(message.o): In function `notmuch_message_destroy':\r
108 message.cc:(.text+0x1b5a): undefined reference to `_talloc_free'\r
109 lib/notmuch.a(query.o):query.cc:(.text+0x8fb): more undefined\r
110 references to `_talloc_free' follow\r
111 lib/notmuch.a(thread.o): In function\r
112 `_thread_add_message(_notmuch_thread*, _notmuch_message*)':\r
113 thread.cc:(.text+0x10c): undefined reference to `_talloc_steal_loc'\r
114 lib/notmuch.a(thread.o): In function `notmuch_thread_destroy':\r
115 thread.cc:(.text+0x854): undefined reference to `_talloc_free'\r
116 lib/notmuch.a(message-file.o): In function\r
117 `notmuch_message_file_close':\r
118 message-file.c:(.text+0x5f5): undefined reference to `_talloc_free'\r
119 collect2: ld returned 1 exit status\r
120 make: *** [notmuch] Error 1\r
121 \r
122 I have the talloc.h in /usr/include and talloc_free as well as\r
123 _talloc_free is in there:\r
124 \r
125 % egrep "*talloc_free" /usr/include/talloc.h\r
126 #define talloc_free(ctx) _talloc_free(ctx, __location__)\r
127 #define talloc_destroy(ctx) talloc_free(ctx)\r
128 #define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0)\r
129 int _talloc_free(void *ptr, const char *location);\r
130 void talloc_free_children(void *ptr);\r
131 %\r
132 \r
133 Probably unusable system info:\r
134 % uname -a\r
135 Linux algorithm 2.6.31-ARCH #1 SMP PREEMPT Fri Oct 23 11:12:58 CEST\r
136 2009 i686 Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz GenuineIntel\r
137 GNU/Linux\r
138 \r
139 What am I doing wrong?\r
140 \r
141 Best regards and thanks for the effort with notmuch!\r
142 \r
143 Steen\r