您的位置:首页 > 其它

Ubuntu 10.04 源码编译安装bochs 2.4.5

2011-03-22 23:47 696 查看

Ubuntu 10.04 源码编译安装bochs 2.4.5

[日期:2010-08-21]来源:Linux社区 作者:Linux
成功在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 安装包,同样可以从 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: