centos 6.5 安装qemu-2.1.3
时间:2015-06-09 03:10 来源:blog.csdn.net 作者:IT
在http://wiki.qemu.org/Download中下载关于qemu的源代码压缩文件,并放入/home/qemu中
-
cd /home/qemu
-
tar -jxvf qemu-2.1.3.tar.bz2
进入/home/qemu/qemu-2.1.3中,并进行编译
-
cd qemu
-
./configure
之后可能会报错:
-
ERROR: "cc" either does not exist or does not work
说明没有gcc编译器,故安装gcc编译
-
yum install gcc*
继续运行./configure,可能还会出错
-
Error: zlib check failed
-
Make sure to have the zlib libs and headers installed.
则需安装zlib相关的软件
再次运行./configure,可能还有错误
-
glib-2.12 required to compile QEMU
则须安装glib相关的模块
-
yum install -y glib*
-
./configure
-
make
./configure成功,继续运行make后失败,出现错误
-
/bin/sh: autoreconf: command not found make: *** [/home/qemu-2.1.3/pixman/configure] Error 127
说明make方面出现问题,通过安装这三个
-
yum install install autoconf automake libtool
-
make
-
make install
成功安装qemu-2.1.3
(责任编辑:IT)
在http://wiki.qemu.org/Download中下载关于qemu的源代码压缩文件,并放入/home/qemu中
(责任编辑:IT) |