在http://wiki.qemu.org/Download中下载关于qemu的源代码压缩文件,并放入/home/qemu中
- cd /home/qemu
- tar -jxvf qemu-2.1.3.tar.bz2
- cd qemu
- ./configure
- ERROR: "cc" either does not exist or does not work
- yum install gcc*
- Error: zlib check failed
- Make sure to have the zlib libs and headers installed.
- yum install zlib*
- glib-2.12 required to compile QEMU
- yum install -y glib*
- ./configure
- make
- /bin/sh: autoreconf: command not found make: *** [/home/qemu-2.1.3/pixman/configure] Error 127
- yum install install autoconf automake libtool
- make
- make install