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

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

From
Mircea Bardac <dev@mircea.bardac.net>
Date
Jun 27, 2008, 12:30 UTC
Message-ID
<4864DD65.1080402@mircea.bardac.net>

$ ./configure configure: CHECKS for programs checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for gar... no checking for ar... ar checking for gtar... no checking for tar... tar checking for asciidoc... no configure: CHECKS for libraries checking for SHA1_Init in -lcrypto... no checking for SHA1_Init in -lssl... no checking for curl_global_init in -lcurl... no checking for XML_ParserCreate in -lexpat... no checking for iconv in -lc... yes checking for deflateBound in -lz... no checking for socket in -lc... yes configure: CHECKS for header files checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for old iconv()... no configure: CHECKS for typedefs, structures, and compiler characteristics checking for struct dirent.d_ino... yes checking for struct dirent.d_type... yes checking for struct sockaddr_storage... yes checking for struct addrinfo... yes checking for getaddrinfo... yes checking whether formatted IO functions support C99 size specifiers... yes checking whether system succeeds to read fopen'ed directory... no checking whether snprintf() and/or vsnprintf() return bogus value... no configure: CHECKS for library functions checking for strcasestr... yes checking for memmem... yes checking for strlcpy... no checking for strtoumax... yes checking for setenv... yes checking for unsetenv... yes checking for mkdtemp... yes configure: CHECKS for site configuration 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)

-- Mircea http://mircea.bardac.net

Next: Jakub Narebski
Message 1 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.