title: zlib still check failed when install qemu
body: <p>I have been trying to install qemu on my desktop using the wsl(win10, ubuntu 18.04). download the qemu from <a href="https://github.com/mit-pdos/6.828-qemu.git%20qemu" rel="nofollow noreferrer">here</a></p>
  
  <p>And try to configure like this:</p>
  
  <pre><code>./configure --disable-kvm --disable-werror --target-list="i386-softmmu x86_64-softmmu"
  </code></pre>
  
  <p>But it's always to throw out the zlib check failed error like this</p>
  
  <blockquote>
    <p>zlib check failed. Make sure to have the zlib libs and headers installed.</p>
  </blockquote>
  
  <p>But I have already installed the zlib, and whereis also showed the zlib installed.</p>
  
  <p>If I goto the configure file and disable the zlib test, it's going to throw out the 
  "pthread check failed. Make sure to have the pthread libs and headers installed "</p>
  
  <p>I really have nothing to do with this error. Could you help me out of this error?</p>