下载的版本是bochs-2.4.2.tar.gz
,那么安装过程差不多是这样的:
ERROR: X windows gui was selected, but X windows libraries were not found.
解决方法:通过新立得安装xorg-dev
错误3:
ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.
解决方法: 通过新立得安装 libgtk2.0-dev
$ tar zxvf bochs-2.4.2.tar.gz
$ cd bochs-2.4.2
$ ./configure --enable-debugger --enable-disasm
$ make
$ sudo make install
错误1:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/lmy/Downloads/bochs-2.4.2':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
解决方法:通过新立得安装build-essential
错误2:
ERROR: X windows gui was selected, but X windows libraries were not found.
解决方法:通过新立得安装xorg-dev
错误3:
ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.
解决方法: 通过新立得安装 libgtk2.0-dev