ubuntu安裝bochs問題解決

一、checking for C compiler default output file name… configure: error: C compiler cannot create executableslinux

解決方法: apt-get install libc6-devwindows


二、configure: error: C++ preprocessor "/lib/cpp" fails sanity checkui

解決方法:apt-get install build-essential.net

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

解決方法:參照04年課程論壇上的解決方法,配置的時候加上--with-nogui(不事後來試了,改爲apt-get install xorg-dev也行 )htm

四、make: ***[install_bin] 錯誤 1get

解決方法:其實很簡單,在命令前加上sudo就行,就是sudo make installit

-------------------------分割線-------------------------asm

首先獲得 bochs-2.4.5.tar.gz 安裝包,一樣能夠從 www.bochs.sourceforget.net 上獲得。table

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

相關文章
相關標籤/搜索