Error: zlib check failed
我下载了一个到qh@qh-VirtualBox:~/下载$ qemu.tar.gz 的包
然后进行qh@qh-VirtualBox:~/下载$ tar -zxvf qemu.tar.gz
出现 qemu-1.0.1的文件夹
然后继续进入到进行configure:
qh@qh-VirtualBox:~/下载/qemu-1.0.1$ ./configure
Error: zlib check failed
Make sure to have the zlib libs and headers installed.
为什么出错啊,求解,应当怎样安装?
我把zlib安装后,再make还是出错诶
qh@qh-VirtualBox:~/下载/qemu-1.0.1$ ./configure
glib-2.0 required to compile QEMU
qh@qh-VirtualBox:~/下载/qemu-1.0.1$ make
Please call configure before running make!
make: *** [config-host.mak] 错误 1
sudo apt-get install libglib2.0-dev,这样就可以了!
apt-get省事
apt-get install qemu qemu-kvm