Ubuntu 10.04 源码编译安装bochs 2.4.5

成功在Ubuntu 10.04下源码编译安装bochs 2.4.5,主要是在配置Bochs的过程中出现了太多错误了。

如果出现

1、checking for C compiler default output file name… configure: error: C compiler cannot create executables

解决方法: apt-get install libc6-dev

2、configure: error: C++ preprocessor “/lib/cpp” fails sanity check

解决方法:apt-get install build-essential

3、X windows gui was selected, but X windows libraries were not found.

解决方法:参照04年课程论坛上的解决方法,,配置的时候加上–with-nogui(不过后来试了,改成apt-get install xorg-dev也行 )

4、make: ***[install_bin] 错误 1

解决方法:其实很简单,在命令前加上sudo就行,就是sudo make install

————————-分割线————————-

首先得到 bochs-2.4.5.tar.gz 安装包,同样可以从 上得到。

1. sudo apt-get install build-essential

2. sudo aptitude install xorg-dev

3. sudo aptitude install libgtk2.0-dev

4. tar vxzf bochs-2.4.5.tar.gz

5. cd bochs-2.4.5/

6. ./configure –enable-debugger –enable-disasm

7. make

8. make install

莫找借口失败,只找理由成功。(不为失败找理由,要为成功找方法

Ubuntu 10.04 源码编译安装bochs 2.4.5

相关文章:

你感兴趣的文章:

标签云: