Subject: Re: BUG (v1.5.6.1): ./configure missing check for zlib.h

From: Jakub Narebski <[email-masked]>
Date: Fri, 27 Jun 2008 07:46:50 -0700 (PDT)

Mircea Bardac <[email-masked]> writes:

> $ ./configure
[...]
> configure: CHECKS for header files

Here ./configure check for existence of heder files, but only those
that can be skipped by defining some macro...

> configure: CHECKS for site configuration

...and here is check for --with-zlib=<path to zlib>

> configure: creating ./config.status
> config.status: creating config.mak.autogen
> 
> $ make
> GIT_VERSION = 1.5.6.1
>      * new build flags or prefix
>      CC daemon.o
> In file included from daemon.c:1:
> cache.h:9:18: error: zlib.h: No such file or directory
> make: *** [daemon.o] Error 1
> 
> (installing zlib1g-dev on Ubuntu 7.10 fixed the problem)

What should ./configure do (what ./configure for other programs
or packages do)?

You cannot compile git without zlib!
-- 
Jakub Narebski
Poland
ShadeHawk on #git