ubuntu安装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 安装包,同样可以从 www.bochs.sourceforget.net 上得到。

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

转载自:http://www.linuxidc.com/Linux/2010-08/27989.htm

你可能感兴趣的:(ubuntu安装bochs问题解决)