安装bochs

在KarmicKoala上使用apt-get的方式安装bochs是没有调试功能的,需要进行手动的方式进行安装并设置”–enable-debugger –enable-disasm”两个参数,以手动安装先后出现了两个问题:

  1. ERROR: X windows gui was selected, but X windows libraries were not found.”
  2. ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.

于是google了一下,将下面的库都安装了就成功装上bochs了:

apt-get install build-essential
apt-get install libwxgtk2.6-0
apt-get install libwxgtk2.6-dev wx2.6-headers wx-common
apt-get install libx11-dev
apt-get install libxmu-dev
apt-get install libxmuu-dev
apt-get install xserver-xorg-dev
apt-get install xorg-dev
apt-get install libgtk2.0-dev

没有详细去了解为什么要装这些库,可能是因为调试的功能需要用到一些X window和gtk的开发包吧。

This entry was posted in Tools. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>