安装编译qemu-kvm报错Make sure to have the zlib libs and headers installed.
2014-07-14 09:13
405 查看
[root@node2 qemu-kvm.git]# ./configure
Error: zlib check failed
Make sure to have the zlib libs and headers installed.
解决上面报错需要安装zlib相关的软件
[root@node2 qemu-kvm.git]# yum install zlib*
安装完上面软件后继续出现下面报错
[root@node2 qemu-kvm.git]# ./configure
glib-2.12 required to compile QEMU
解决上面的报错继续安装glib相关的模块
[root@node2 qemu-kvm.git]# yum install -y glib*
再次执行配置操作可以正常执行
[root@node2 qemu-kvm.git]# ./configure
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
library directory /usr/local/lib
libexec directory /usr/local/libexec
include directory /usr/local/include
config directory /usr/local/etc
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /root/kvm/qemu-kvm.git
C compiler gcc
Host C compiler gcc
Objective-C compiler gcc
CFLAGS -O2 -D_FORTIFY_SOURCE=2 -g
QEMU_CFLAGS -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits
LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g
make make
install install
python python
smbd /usr/sbin/smbd
host CPU x86_64
host big endian no
target list x86_64-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled yes
SDL support no
curses support no
curl support no
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16 hda
Block whitelist
Mixer emulation no
VirtFS support no
VNC support yes
VNC TLS support no
VNC SASL support no
VNC JPEG support no
VNC PNG support no
xen support no
brlapi support no
bluez support no
Documentation no
NPTL support yes
GUEST_BASE yes
PIE yes
vde support no
Linux AIO support no
ATTR/XATTR support yes
Install blobs yes
KVM support yes
TCG interpreter no
fdt support no
preadv support yes
fdatasync yes
madvise yes
posix_madvise yes
uuid support no
libcap-ng support no
vhost-net support yes
Trace backend nop
Trace output file trace-<pid>
spice support no (/)
rbd support no
xfsctl support no
nss used no
usb net redir no
OpenGL support no
libiscsi support no
build guest agent yes
seccomp support no
coroutine backend ucontext
GlusterFS support no
[root@node2 qemu-kvm.git]#
[root@node2 qemu-kvm.git]#
Error: zlib check failed
Make sure to have the zlib libs and headers installed.
解决上面报错需要安装zlib相关的软件
[root@node2 qemu-kvm.git]# yum install zlib*
安装完上面软件后继续出现下面报错
[root@node2 qemu-kvm.git]# ./configure
glib-2.12 required to compile QEMU
解决上面的报错继续安装glib相关的模块
[root@node2 qemu-kvm.git]# yum install -y glib*
再次执行配置操作可以正常执行
[root@node2 qemu-kvm.git]# ./configure
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
library directory /usr/local/lib
libexec directory /usr/local/libexec
include directory /usr/local/include
config directory /usr/local/etc
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /root/kvm/qemu-kvm.git
C compiler gcc
Host C compiler gcc
Objective-C compiler gcc
CFLAGS -O2 -D_FORTIFY_SOURCE=2 -g
QEMU_CFLAGS -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits
LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g
make make
install install
python python
smbd /usr/sbin/smbd
host CPU x86_64
host big endian no
target list x86_64-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled yes
SDL support no
curses support no
curl support no
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16 hda
Block whitelist
Mixer emulation no
VirtFS support no
VNC support yes
VNC TLS support no
VNC SASL support no
VNC JPEG support no
VNC PNG support no
xen support no
brlapi support no
bluez support no
Documentation no
NPTL support yes
GUEST_BASE yes
PIE yes
vde support no
Linux AIO support no
ATTR/XATTR support yes
Install blobs yes
KVM support yes
TCG interpreter no
fdt support no
preadv support yes
fdatasync yes
madvise yes
posix_madvise yes
uuid support no
libcap-ng support no
vhost-net support yes
Trace backend nop
Trace output file trace-<pid>
spice support no (/)
rbd support no
xfsctl support no
nss used no
usb net redir no
OpenGL support no
libiscsi support no
build guest agent yes
seccomp support no
coroutine backend ucontext
GlusterFS support no
[root@node2 qemu-kvm.git]#
[root@node2 qemu-kvm.git]#
相关文章推荐
- ubuntu编译qemu 1.4.1 之前需要安装的几个包
- 在Fedora 20下编译安装QEMU
- 在Linux上编译安装Bochs和QEMU的方法
- linux内核调试环境搭建-1 Ubuntu10 .10下编译安装qemu
- QEMU 2.10.1 编译安装
- Linux下编译安装qemu和libvirt
- xen4.4,qemu-xen-1.6编译安装
- ubuntu14.04编译安装qemu
- kvm虚拟化技术实战记录(3)——编译安装qemu-kvm
- QEMU 2.10.1 编译安装
- ubuntu14.04中qemu编译安装及报错处理
- ubuntu12.04下libvirt-1.0.4和qemu-1.4编译安装
- (KVM连载)3.4 编译qemu-kvm和安装qemu-kvm
- 编译安装qemu并在qemu上安装centos6.5
- QEMU+GDB 安装编译调试linux内核
- 在ubuntu16.04.1中通过源码编译安装qemu和libvirt环境
- Linux 下编译安装 QEMU
- Ubuntu下编译安装QEMU
- linux编译安装kvm、qemu
- ubuntu12.04下 编译安装qemu-kvm 并enable spice