安装编译qemu-kvm报错Make sure to have the zlib libs and headers installed.

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

Error: zlib check failed

Make sure to have the zlib libs and headers installed.

解决上面报错需要安装zlib相关的软件

[[email protected] qemu-kvm.git]# yum install zlib*

安装完上面软件后继续出现下面报错

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

glib-2.12 required to compile QEMU

解决上面的报错继续安装glib相关的模块

[[email protected] qemu-kvm.git]# yum install -y glib*

再次执行配置操作可以正常执行

[[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

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

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

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

安装编译qemu-kvm报错Make sure to have the zlib libs and headers installed.

时间: 2024-10-06 21:52:13

安装编译qemu-kvm报错Make sure to have the zlib libs and headers installed.的相关文章

Linux下安装Nrpe软件相关报错

Linux下面安装nrpe软件时,如果进行配置时(./configure)  报错: 并且执行make all命令进行编译时候也报错: 解决办法:    在报错的服务器上执行yum -y install openssl-devel   命令安装ssl的库 之后再次执行./configure命令进行配置,如果配置成功应该显示如下信息: 再次使用make all 命令就不会报错了.make all完毕显示如下信息: Linux下安装Nrpe软件相关报错,布布扣,bubuko.com

安装Python3.6.2报错:zipimport.ZipImportError: can&#39;t decompress data; zlib not available

解决方法: 1.安装依赖zlib.zlib-devel 2.重新编译安装Python ./configure 重新编译安装:make & make install 安装Python3.6.2报错:zipimport.ZipImportError: can't decompress data; zlib not available

centos6.8安装python3.7.3报错Can&#39;t connect to HTTPS URL because the SSL module is not available问题解决

环境:CentOS release 6.8 (Final) # 直接编译python3.7在使用pip3安装依赖的时候报错: Can't connect to HTTPS URL because the SSL module is not available. 解决方法: 1.编译安装OpenSSL 1.0.2j版本并重新配置环境变量 下载OpenSSL源码包: wget http://www.openssl.org/source/openssl-1.0.2j.tar.gz 解压缩,编译安装:

安装mongodb后启动报错libstdc++

安装mongo后启动报错如下图 显然说是libstdc++.so文件版本的问题,这种一般都是gcc版本太低了 接着查询gcc的版本    strings /usr/lib/libstdc++.so.6 | grep GLIBCXX 接着去找下libstdc++.so新点的版本,一定要根据自己的系统版本去找啊,由于我找错了版本报错系统位数不对 随后下载了一个64位的libstdc++.so.6.0.17的文件,然后软链成libstdc++.so.6 ln -s libstdc++.so.6.0.1

DELL 755行业用机安装windows 2003系统报错 0x0000007b

DELL 755行业用机用光盘安装windows 2003系统报错:0x0000007b 先放解决办法:将ACHI模式调整为ATA模式即可解决问题: 经过查阅网上资料,最终锁定如下帖子中说的有点道理, http://www.elecfans.com/jiadian/diannao/20121016292687.html [第三参考]安装widows XP时蓝屏代码0X0000007B的问题的解决方案用户在重新安装Windows XP的过程中,可能会出现安装过程中蓝屏,代码是0X0000007B的

解决 linux下编译make文件报错&ldquo;/bin/bash^M: 坏的解释器:没有那个文件或目录&rdquo; 问题

PS背景:我在公司做sdk 的pc端开发,所以经常会在win下编译通过之后跑到linux下再运行一次已确保能支持多平台. 今儿在win下跑完一程序,然后放到linux下跑的时候,我用指令: [plain] view plain copy sudo ./build.sh 但是却没有任何反应.于是我换了指令,用 [plain] view plain copy chmod u+x build.sh ./build.sh 报错 "build.sh  /bin/bash^M: 坏的解释器:没有那个文件或目

mac编译openssl扩展报错 openssl.c:44:10: fatal error: &#39;openssl/evp.h&#39; file not found

解决办法 brew link openssl --force 然后 ./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config make sudo make install mac编译openssl扩展报错 openssl.c:44:10: fatal error: 'openssl/evp.h' file not found

Qt打开外部程序和文件夹需要注意的细节(Qt调用VC写的动态库,VC需要用C的方式输出函数,否则MinGW32编译过程会报错)

下午写程序中遇到几个小细节,需要在这里记录一下. ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 QProcess *process = new QProcess(this);     QFileInfo fileinfo(appUrl);     QString appPath = QApplication::applicationDirPath()+SAVEDIR+"/"+fileinfo.fileName();     bool res = proce

编译android4.4 报错error: call to &#39;__property_get_too_small_error&#39; declared with attribute 的处理 (转载)

转自:http://blog.csdn.net/syhost/article/details/14448899 完整的报错为: system/core/include/cutils/properties.h:64:39: error: call to '__property_get_too_small_error' declared with attribute error: property_get() called with too small of a bufferIn function