Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu下虚拟机Bochs安装问题解决汇总

最近看《一个操作系统的实现》,在Ubuntu下虚拟机下安装bochs时候出现了N多的错误,现把解决办法收集记录以下(1) 出现1 “ERROR: X windows gui was selected, but X windows libraries were not found.解决办法:1 sudo apt-get install libx11-dev xserver-xorg-dev xorg-dev(2) 出现1 “ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package. Install pkg-config and the gtk+ development package, or disable the gui debugger, or the wxWidgets display library (whichever is being used).”2 ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.Install pkg-config and the gtk+ development package,or disable the gui debugger, or the wxWidgets display library (whichever is being used)解决办法:1 sudo apt-get install libgtk2.0-dev(3)1 checking for C compiler default output file name… configure: error: C compiler cannot create executables解决方法:1 apt-get install libc6-dev(4)1 configure: error: C++ preprocessor "/lib/cpp" fails sanity check解决方法:1 apt-get install build-essential(5)1 X windows gui was selected, but X windows libraries were not found.解决方法:参照04年课程论坛上的解决方法,配置的时候加上–with-nogui(不过后来试了,改成apt-get install xorg-dev也行 )Ubuntu 10.10中成功安装ns-allinone-2.34Ubuntu 10.04安装Bochs 2.4.5笔记相关资讯      Ubuntu教程  Bochs 
  • Ubuntu 14.04 LTS 安装和配置Bochs  (今 10:20)
  • 在Ubuntu下用Bochs仿真freedos学习  (05/29/2014 19:53:28)
  • Bochs 2.6 发布,开源 x86 虚拟机  (03/05/2013 18:50:39)
  • Ubuntu上使用Bochs  (今 10:14)
  • Ubuntu教程 - 使用Ubuntu拷贝CD和  (12/18/2013 14:38:16)
  • CentOS 6.0 源码 编译 安装 Bochs  (12/27/2012 12:11:05)
本文评论 查看全部评论 (3)
表情: 姓名: 字数


评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
第 3 楼 匿名 发表于 2013/9/11 22:35:07你好,楼主,我也遇到了类似的问题,但用你说的方法没有解决,请楼主指点一下回复 支持 (0) 反对 (0)第 2 楼 Mr.LI 发表于 2011/10/10 20:10:08谢谢了