Centos 6.5 installation qemu-2.1.3
Download the source code compressed file for qemuin http://wiki.qemu.org/downloadand import it to /home/qemu.
[Plain] view plaincopy
- Cd/home/qemu
- Tar-jxvfqemu-2.1.3.tar.bz2
Go to/home/qemu/qemu-2.1.3 and compile
[Plain] view plaincopy
- Cdqemu
- ./Configure
An error may be reported later:
[Plain] view plaincopy
- ERROR: "cc" eitherdoesnotexistordoesnotwork
It indicates that there is no gcc compiler, so install gcc to compile [plain] view plaincopy
- Yuminstallgcc *
Continue to run./configure. errors may occur.
[Plain] view plaincopy
- Error: zlibcheckfailed
- Makesuretohavethezliblibsandheadersinstalled.
Zlib-related software must be installed.
[Plain] view plaincopy
- Yuminstallzlib *
Run./configure again, and there may be errors
[Plain] view plaincopy
- Glib-2.12requiredtocompileQEMU
Install the glib-related modules.
[Plain] view plaincopy
- Yuminstall-yglib *
- ./Configure
- Make
./Configure successful, continue running make failed, error
[Plain] view plaincopy
- /Bin/sh: autoreconf: commandnotfoundmake: **** [/home/qemu-2.1.3/pixman/configure] Error127
It indicates that there is a problem with make. install these three
[Plain] view plaincopy
- Yuminstallinstallautoconfautomakelibtool
- Make
- Makeinstall
Successfully installed qemu-2.1.3