unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Requires g++, and something else?
@ 2009-12-01  0:01 Scot Becker
  2009-12-01  0:32 ` Adrian Perez de Castro
  2009-12-01  7:40 ` Carl Worth
  0 siblings, 2 replies; 4+ messages in thread
From: Scot Becker @ 2009-12-01  0:01 UTC (permalink / raw)
  To: notmuch

Friends,

I'm a brand new joiner to notmuch ('course so is nearly everyone).

I just tried compiling, and I see:

1.  g++ is also a 'dependency' though ./configure didn't catch it.
2.  I 'make' breaks with the following error:
.....
  CXX	lib/thread.o
  AR	lib/notmuch.a
  CXX	notmuch
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [notmuch] Error 1

This is a just-now git clone on a Ubuntu 9.10 machine which doesn't
happen to have too much dev stuff loaded.
Feel free to ignore this if it's been reported or it's otherwise 'known'

Cheers,
Scot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Requires g++, and something else?
  2009-12-01  0:01 Requires g++, and something else? Scot Becker
@ 2009-12-01  0:32 ` Adrian Perez de Castro
  2009-12-01  2:35   ` david
  2009-12-01  7:40 ` Carl Worth
  1 sibling, 1 reply; 4+ messages in thread
From: Adrian Perez de Castro @ 2009-12-01  0:32 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

On Tue, 1 Dec 2009 00:01:16 +0000, Scot wrote:

> Friends,
> 
> I'm a brand new joiner to notmuch ('course so is nearly everyone).
> 
> I just tried compiling, and I see:
> 
> 1.  g++ is also a 'dependency' though ./configure didn't catch it.
> 2.  I 'make' breaks with the following error:
> .....
>   CXX	lib/thread.o
>   AR	lib/notmuch.a
>   CXX	notmuch
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make: *** [notmuch] Error 1
> 
> This is a just-now git clone on a Ubuntu 9.10 machine which doesn't
> happen to have too much dev stuff loaded.
> Feel free to ignore this if it's been reported or it's otherwise 'known'

This is because you will need the development package for zlib, package
name is "zlib1g-dev", once you have the devel packages listed in the
README file plus this one you shoule be able of building NotMuch
successfully.

Good luck, and best regards,

-- 
Adrian Perez de Castro <aperez@igalia.com>
Igalia - Free Software Engineering

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Requires g++, and something else?
  2009-12-01  0:32 ` Adrian Perez de Castro
@ 2009-12-01  2:35   ` david
  0 siblings, 0 replies; 4+ messages in thread
From: david @ 2009-12-01  2:35 UTC (permalink / raw)
  To: notmuch

Adrian Perez de Castro wrote:

>[1  <multipart/signed (7bit)>]
>[1.1  <text/plain; US-ASCII (quoted-printable)>]
>On Tue, 1 Dec 2009 00:01:16 +0000, Scot wrote:

>>   CXX	lib/thread.o
>>   AR	lib/notmuch.a
>>   CXX	notmuch
>> /usr/bin/ld: cannot find -lz

>This is because you will need the development package for zlib, package
>name is "zlib1g-dev", once you have the devel packages listed in the
>README file plus this one you shoule be able of building NotMuch
>successfully.

For what it is worth, this should be fixed in the next release of
libgmime.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Requires g++, and something else?
  2009-12-01  0:01 Requires g++, and something else? Scot Becker
  2009-12-01  0:32 ` Adrian Perez de Castro
@ 2009-12-01  7:40 ` Carl Worth
  1 sibling, 0 replies; 4+ messages in thread
From: Carl Worth @ 2009-12-01  7:40 UTC (permalink / raw)
  To: Scot Becker, notmuch

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

On Tue, 1 Dec 2009 00:01:16 +0000, Scot Becker <scot.becker@gmail.com> wrote:
> I'm a brand new joiner to notmuch ('course so is nearly everyone).

Hi Scot, welcome to notmuch!

> I just tried compiling, and I see:
> 
> 1.  g++ is also a 'dependency' though ./configure didn't catch it.

Oh, good point. I did assume you at least had a functional compiler. But
yeah, the configure script should actually check for that I suppose.

> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make: *** [notmuch] Error 1

This was answered well already. It's really a packaging but of GMime,
(since *it* depends on libz, so notmuch depends on it indirectly, but
doesn't actually need to link directly with libz as GMime is instructing
us to do so here).

-Carl

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-01  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01  0:01 Requires g++, and something else? Scot Becker
2009-12-01  0:32 ` Adrian Perez de Castro
2009-12-01  2:35   ` david
2009-12-01  7:40 ` Carl Worth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).