Install and compile qemu-KVM. the following error occurs: make sure to have the zlib libs and headers installed.

Source: Internet
Author: User

[[Email protected] qemu-kvm.git] #./configure


Error: zlib check failed

Make sure to have the zlib libs and headers installed.

To solve the above error, install zlib-related software.

[[Email protected] qemu-kvm.git] # Yum install zlib *


After the above software is installed, the following error occurs:

[[Email protected] qemu-kvm.git] #./configure

Glib-2.12 required to compile qemu


Solve the above error and continue to install glib-related modules

[[Email protected] qemu-kvm.git] # Yum install-y glib *


You can execute the configuration operation again.

[[Email protected] 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

Firewall-werror-fpie-dpie-M64-d_gnu_source-sources = 64-nodes-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-wiggnored- 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

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

Invalid FS 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

[[Email protected] qemu-kvm.git] #

[[Email protected] qemu-kvm.git] #



This article is from the "zhanguo1110" blog, please be sure to keep this source http://zhanguo1110.blog.51cto.com/5750817/1437785

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.