1 Return-Path: <bhaskara@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 olra.theworths.org (Postfix) with ESMTP id C7D534196F0
\r
6 for <notmuch@notmuchmail.org>; Mon, 29 Mar 2010 09:43:33 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
\r
14 RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id XIoq2KGl9OK0 for <notmuch@notmuchmail.org>;
\r
18 Mon, 29 Mar 2010 09:43:32 -0700 (PDT)
\r
19 Received: from mail-iw0-f204.google.com (mail-iw0-f204.google.com
\r
21 by olra.theworths.org (Postfix) with ESMTP id 97BD9431FC1
\r
22 for <notmuch@notmuchmail.org>; Mon, 29 Mar 2010 09:43:32 -0700 (PDT)
\r
23 Received: by iwn42 with SMTP id 42so667934iwn.6
\r
24 for <notmuch@notmuchmail.org>; Mon, 29 Mar 2010 09:43:31 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:mime-version:received:in-reply-to:references
\r
27 :date:received:message-id:subject:from:to:content-type;
\r
28 bh=Ex9jT2VPMeG03/+eo3IEBf0fSspPx+Zy/Uf2UaalOew=;
\r
29 b=dYg467W449R6fj4TuIo3RsZitsawvJLUDLDkjSxYvpYUI35GKB3lM8CSuZg+G8ZyGA
\r
30 swEJKJVSWg6yCqvgf84KiX3yMRJrJ5zZppklAB/Z5SkYStxGISvrlupM1oF2C44Irnkn
\r
31 f0u4zSUsRDfO3X+Xr55iKe82qhksnnQsGipBg=
\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
33 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
\r
35 b=iw7YVPGbugyvRoasCoz6PuElJdV5rIPsi7Ze/EihZFZf+i1FM269ddXF/gVeJYwxrw
\r
36 dm2cwwRHNfCyuTVvdJ6BkQBVrDD6AkUDjmvmi1sNIdYbbLvfnKY9z4CLqdyX5Z2sLjCU
\r
37 bjrElVsGQBKahIAjOy/S59K6yztoijrIspJyY=
\r
39 Received: by 10.231.32.9 with HTTP; Mon, 29 Mar 2010 09:43:31 -0700 (PDT)
\r
40 In-Reply-To: <87ljdbh61t.fsf@steelpick.2x.cz>
\r
41 References: <330356ae1003282354s639a0ff5p34a6a29bbe145ed5@mail.gmail.com>
\r
42 <87ljdbh61t.fsf@steelpick.2x.cz>
\r
43 Date: Mon, 29 Mar 2010 09:43:31 -0700
\r
44 Received: by 10.231.153.205 with SMTP id l13mr2659405ibw.64.1269881011810;
\r
45 Mon, 29 Mar 2010 09:43:31 -0700 (PDT)
\r
46 Message-ID: <330356ae1003290943v19cfcabeveff2cdfd46df5601@mail.gmail.com>
\r
47 From: Bhaskara Marthi <bhaskara@gmail.com>
\r
48 To: notmuch@notmuchmail.org
\r
49 Content-Type: multipart/alternative; boundary=005045013bff9db1610482f336b9
\r
50 Subject: Re: [notmuch] [PATCH] Fix compilation when getline is not available
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Mon, 29 Mar 2010 16:43:33 -0000
\r
65 --005045013bff9db1610482f336b9
\r
66 Content-Type: text/plain; charset=ISO-8859-1
\r
68 On Mon, Mar 29, 2010 at 1:43 AM, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
\r
70 > On Mon, 29 Mar 2010, Bhaskara Marthi wrote:
\r
71 > > Hi all, I'm trying to build notmuch on os x (master branch from today).
\r
73 > > got the ports for gmime and xapian, and installed talloc from source,
\r
75 > > some minor hitches (just getting talloc alone from samba failed on
\r
77 > > due to lack of libreplace.m4, so I installed all of samba from a port; a
\r
78 > > pkg-config file for talloc was not put in the right place after that,
\r
79 > > though, so I had to make one).
\r
81 > > Anyway, now compilation runs into the following error. Looks like an
\r
83 > > with the makefile given that getline is in fact defined in compat/. How
\r
84 > > should I fix this?
\r
86 > The following patch should fix it.
\r
89 Works for me. Thanks!
\r
96 > compat/Makefile.local | 2 +-
\r
97 > 2 files changed, 2 insertions(+), 2 deletions(-)
\r
99 > diff --git a/Makefile b/Makefile
\r
100 > index 46f001c..93c6b2b 100644
\r
103 > @@ -46,7 +46,7 @@ subdirs = compat emacs lib
\r
104 > global_deps = Makefile Makefile.config Makefile.local \
\r
105 > $(subdirs:%=%/Makefile) $(subdirs:%=%/Makefile.local)
\r
107 > -include Makefile.config Makefile.local $(subdirs:%=%/Makefile.local)
\r
108 > +include Makefile.config $(subdirs:%=%/Makefile.local) Makefile.local
\r
110 > # The user has not set any verbosity, default to quiet mode and inform the
\r
111 > # user how to enable verbose compiles.
\r
112 > diff --git a/compat/Makefile.local b/compat/Makefile.local
\r
113 > index 17b4514..9f84c5f 100644
\r
114 > --- a/compat/Makefile.local
\r
115 > +++ b/compat/Makefile.local
\r
118 > extra_cflags += -I$(dir)
\r
120 > -notmuch_compat_srcs =
\r
121 > +notmuch_compat_srcs :=
\r
123 > ifneq ($(HAVE_GETLINE),1)
\r
124 > notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
\r
129 --005045013bff9db1610482f336b9
\r
130 Content-Type: text/html; charset=ISO-8859-1
\r
131 Content-Transfer-Encoding: quoted-printable
\r
133 <br><br><div class=3D"gmail_quote">On Mon, Mar 29, 2010 at 1:43 AM, Michal =
\r
134 Sojka <span dir=3D"ltr"><<a href=3D"mailto:sojkam1@fel.cvut.cz">sojkam1@=
\r
135 fel.cvut.cz</a>></span> wrote:<br><blockquote class=3D"gmail_quote" styl=
\r
136 e=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; =
\r
137 padding-left: 1ex;">
\r
138 On Mon, 29 Mar 2010, Bhaskara Marthi wrote:<br>
\r
139 > Hi all, I'm trying to build notmuch on os x (master branch from to=
\r
141 > got the ports for gmime and xapian, and installed talloc from source, =
\r
143 > some minor hitches (just getting talloc alone from samba failed on aut=
\r
145 > due to lack of libreplace.m4, so I installed all of samba from a port;=
\r
147 > pkg-config file for talloc was not put in the right place after that,<=
\r
149 > though, so I had to make one).<br>
\r
151 > Anyway, now compilation runs into the following error. =A0Looks like a=
\r
153 > with the makefile given that getline is in fact defined in compat/. =
\r
155 > should I fix this?<br>
\r
157 The following patch should fix it.<br></blockquote><div><br>Works for me.=
\r
158 =A0 Thanks!<br>- Bhaskara<br><br>=A0</div><blockquote class=3D"gmail_quote"=
\r
159 style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.=
\r
160 8ex; padding-left: 1ex;">
\r
163 =A0Makefile =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A02 +-<br>
\r
164 =A0compat/Makefile.local | =A0 =A02 +-<br>
\r
165 =A02 files changed, 2 insertions(+), 2 deletions(-)<br>
\r
167 diff --git a/Makefile b/Makefile<br>
\r
168 index 46f001c..93c6b2b 100644<br>
\r
171 @@ -46,7 +46,7 @@ subdirs =3D compat emacs lib<br>
\r
172 =A0global_deps =3D Makefile Makefile.config Makefile.local \<br>
\r
173 =A0 =A0 =A0 =A0$(subdirs:%=3D%/Makefile) $(subdirs:%=3D%/Makefile.local)<b=
\r
176 -include Makefile.config Makefile.local $(subdirs:%=3D%/Makefile.local)<br>
\r
177 +include Makefile.config $(subdirs:%=3D%/Makefile.local) Makefile.local<br>
\r
179 =A0# The user has not set any verbosity, default to quiet mode and inform t=
\r
181 =A0# user how to enable verbose compiles.<br>
\r
182 diff --git a/compat/Makefile.local b/compat/Makefile.local<br>
\r
183 index 17b4514..9f84c5f 100644<br>
\r
184 --- a/compat/Makefile.local<br>
\r
185 +++ b/compat/Makefile.local<br>
\r
186 @@ -1,7 +1,7 @@<br>
\r
187 =A0dir :=3D compat<br>
\r
188 =A0extra_cflags +=3D -I$(dir)<br>
\r
190 -notmuch_compat_srcs =3D<br>
\r
191 +notmuch_compat_srcs :=3D<br>
\r
193 =A0ifneq ($(HAVE_GETLINE),1)<br>
\r
194 =A0notmuch_compat_srcs +=3D $(dir)/getline.c $(dir)/getdelim.c<br>
\r
195 <font color=3D"#888888">--<br>
\r
197 </font></blockquote></div><br>
\r
199 --005045013bff9db1610482f336b9--
\r