Centos6.5 qemu-2.1.3 installation

Source: Internet
Author: User
In

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-jxvf qemu-2.1.3.tar.bz2
Go to/home/qemu/qemu-2.1.3 and compile

 

 

[Plain]View plaincopy
  1. Cd qemu
  2. ./Configure
An error may be reported later:

 

 

[Plain]View plaincopy
  1. ERROR: "cc" either does not exist or does not work
The gcc compiler is not installed. [Plain]View plaincopy
  1. Yum install gcc *
Continue to run./configure. errors may occur.

 

 

[Plain]View plaincopy
  1. Error: zlib check failed
  2. Make sure to have the zlib libs and headers installed.
Zlib-related software must be installed.
[Plain]View plaincopy
  1. Yum install zlib *
Run./configure again, and there may be errors

 

 

[Plain]View plaincopy
  1. Glib-2.12 required to compile QEMU
Install the glib-related modules.
[Plain]View plaincopy
  1. Yum install-y glib *
  2. ./Configure
  3. Make
./Configure successful, continue running make failed, error

 

 

[Plain]View plaincopy
  1. /Bin/sh: autoreconf: command not found make: *** [/home/qemu-2.1.3/pixman/configure] Error 127
It indicates that there is a problem with make. install these three

 

 

[Plain]View plaincopy
  1. Yum install autoconf automake libtool
  2. Make
  3. Make install
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.