git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Mircea Bardac <dev@mircea.bardac.net>
Date
Jun 27, 2008, 15:15 UTC
Message-ID
<48650413.2080001@mircea.bardac.net>
In-Reply-To
<m3prq3hr6n.fsf@localhost.localdomain>
Jakub Narebski wrote:
Show 8 quoted lines
> Mircea Bardac <dev@mircea.bardac.net> 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...
Show 8 quoted lines
> [...]
>>
>> (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!

Well, as far as I know, if a program depends on any external headers, they should *all* be checked, not only "those that can be skipped by defining some macro" (I personally do not know which are these).

Mircea

-- http://mircea.bardac.net

Previous: Ian Hilt
Message 6 of 6 in “BUG (v1.5.6.1): ./configure missing check for zlib.h”
  1. Mircea BardacJun 27, 2008
  2. Jakub NarebskiJun 27, 2008
  3. tom fogalJun 27, 2008
  4. Jakub NarebskiJun 27, 2008
  5. Ian HiltJun 29, 2008
  6. Mircea BardacJun 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.