Centos 6.5 installation qemu-2.1.3

Source: Internet
Author: User

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
  1. Cd/home/qemu
  2. Tar-jxvfqemu-2.1.3.tar.bz2
Go to/home/qemu/qemu-2.1.3 and compile

[Plain] view plaincopy
  1. Cdqemu
  2. ./Configure
An error may be reported later:

[Plain] view plaincopy
  1. ERROR: "cc" eitherdoesnotexistordoesnotwork
It indicates that there is no gcc compiler, so install gcc to compile [plain] view plaincopy
  1. Yuminstallgcc *
Continue to run./configure. errors may occur.

[Plain] view plaincopy
  1. Error: zlibcheckfailed
  2. Makesuretohavethezliblibsandheadersinstalled.
Zlib-related software must be installed.
[Plain] view plaincopy
  1. Yuminstallzlib *
Run./configure again, and there may be errors

[Plain] view plaincopy
  1. Glib-2.12requiredtocompileQEMU
Install the glib-related modules.
[Plain] view plaincopy
  1. Yuminstall-yglib *
  2. ./Configure
  3. Make
./Configure successful, continue running make failed, error

[Plain] view plaincopy
  1. /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
  1. Yuminstallinstallautoconfautomakelibtool
  2. Make
  3. Makeinstall
Successfully installed qemu-2.1.3

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.