在ubuntu 10.04上,qemu 1.2的编译过程如下:
1) ./configure --target-list=arm-softmmu --prefix=/usr
出现下面提示:Error: zlib check failed
Make sure to have the zlib libs and headers installed.
安装zlib
./configure --prefix=/usr
make
sudo make install
2) ./configure --target-list=arm-softmmu --prefix=/usr
glib-2.12 required to compile QEMU
安装glib
./configure --prefix=/usr
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
安装gettext --prefix=/usr
./configure
make
sudo make install
再次安装glib
安装glib
./configure