Skip to contentSkip to conversation

Configure fails

Qemu-devel Nigel Horne 2 participants 2 messages Oct 11, 2008

lore
Share & tools
lore
#0 lore raw

The latest configure incorrectly tells me that I don't have zlib installed. I do:

njh@packard:~/src/qemu/trunk$ ./configure
WARNING: "gcc" looks like gcc 4.x
Looking for gcc 3.x
Found "gcc-3.4"

Error: zlib check failed
Make sure to have the zlib libs and headers installed.

njh@packard:~/src/qemu/trunk$ dpkg -l | fgrep -i zlib
ii  libcompress-raw-zlib-perl            2.012-1                          low-level interface to zlib compression libr
ii  libcompress-zlib-perl                2.012-1                          Perl module for creation and manipulation of
ii  libio-compress-zlib-perl             2.012-1                          Perl interface to zlib
ii  zlib1g                               1:1.2.3.3.dfsg-12                compression library - runtime
ii  zlib1g-dev                           1:1.2.3.3.dfsg-12                compression library - development
njh@packard:~/src/qemu/trunk$

This is a show stopper :-(

-Nigel

#1 lore raw

2008/10/11 Nigel Horne <[email protected]>:

Quoted 2 lines

Error: zlib check failed
Make sure to have the zlib libs and headers installed.

Could you check what error does

gcc-3.4 file.c -lz

give you for a file.c containing the lines

#include <zlib.h>
int main(void) { zlibVersion(); return 0; }

I can't see the reason this would fail and a system I checked with the same version packages as yours doesn't have this problem.

Regards