ubuntu linux下安装boch过程

    记录一下linux下安装boch需要注意的地方。

    1. 在新安装的ubuntu的linux后,需要立即编辑源列表文件。具体方法见:

         http://wiki.ubuntu.org.cn/Qref/Source

    2.另外最好熟悉ubutu linux的软件安装方法,aptitude命令。对于初学者最好能有一本入门操作书。不过baidu或者google下也好。或者上wiki,就是上面的那个网站。

    3.之后就可以安装了,如果在安装过程中提示有什软件没有安装,就安装之。

      下面的一些经验可供参考。


OtyWM4iEJ {"p1L` bT)x0

错误: C compiler cannot create executables
2?*Q T5sVe*@0 原因:51Testing软件测试网LO8S:L U+JN
解决:sudo apt-get gcc libc6-dev51Testing软件测试网)O(Cy5mJ'z

j(t#f8E?"MIz0 错误:checking for C compiler default output... configure: error: C compiler cannot create executables51Testing软件测试网./"j%a2^9s |.kPE
原因:51Testing软件测试网N|_ RaR l'ubDc
解决:sudo apt-get install libc6-dev51Testing软件测试网�hW*z HlTQ]g

2y$WF~1n+C;XK0 错误:configure: error: C++ preprocessor "/lib/cpp" fails sanity check
vGu5L ^1N�o M.?0 原因:gcc的组件没装全51Testing软件测试网6u0d]5D"s9y'~3|VQ
解决:apt-get install build-essential51Testing软件测试网0E3wS*g].u F Q

-D-F)I(q0{G;N�? b0 错误: Can't find X includes. Please check your installation and add the correct paths!51Testing软件测试网;hF ~�K0QCl,[2l
原因:没有X的包含文件
6a9I.x"vF c4?"x-Iy0 解决:sudo aptitude install libx11-dev xorg-dev51Testing软件测试网1bY2n1h4|#]6j;LMx
51Testing软件测试网;Z]d~"Fz|/sY
错误: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
P7J1el,yJ$Xg)g0 原因:查找提供qt的lib&&headers的软件包,并安装之
+p;WY6d%_ `'SPJ.y ^0 解决:apt-get install libqt3-headers libqt3-mt-dev51Testing软件测试网;HK YB5r

E)h6cl @0 错误:in the prefix, you've chosen, are no KDE headers installed. This will fail.51Testing软件测试网{9O"wC|Q*K1y
So, check this please and use another prefix!51Testing软件测试网vn5T A@,J4j5f%Z;`
原因:install a KDE application in a Gnome environment。
` Z2t mGpcL$a0 解决:which basically means its going to want to install a lot of KDE specific packages to work. This 'configure:error'51Testing软件测试网"tD2yy%@KeX
is due to it expecting you to be running KDE and again refers to some 'headers'.
#pe WlM.L$k0 sudo apt-get update
-_MQ^5o P-n'E0lU T0 sudo apt-get install kdelibs4-dev kdelibs4c2a51Testing软件测试网,D#fF&y/ m2i

V-~:P/D@)X0b0H0 错误:./admin/cvs.sh: 585: autoconf: not found
d C~}/@0 原因:
B!`(Z_0J5Y0xFc9I&H0 解决:apt-get install autoconf51Testing软件测试网2I+J�S*h3wR0`&W
51Testing软件测试网g:x*Ca%W`Y
错误: *** GTK >= 2.4.0 not installed! ***51Testing软件测试网2l X }3r;xV s!rT"X1~
原因:没装GTK51Testing软件测试网!yPZ#[Mn8]nbT
解决:apt-get build-dep gedit51Testing软件测试网9F Z]:Tw4bq

;a(C0F|vb-_0 错误:heching for gtk-config... no
c];v F8vo$t0 checking for GTK - version = 1.2.0... no
{0|]igY?(^0 *** The gtk-config scrīpt installed by GTK could not be found51Testing软件测试网8L/pP!ZtMT!F v�O'o
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in51Testing软件测试网LZITj8H7S
*** your path, or set the GTK_CONFIG enviroment variable to the
C"PEml5cE0 *** full path to gtk-config.
e kq.Rzu't0 configure: error: Cannot find GTK: Is gtk-config in path?51Testing软件测试网7hGFE{
原因:51Testing软件测试网7T okxp} {M6i
解决:sudo apt-get install libgtk1.2-dev
;Vq"fel'h c0 51Testing软件测试网(T#em/[0v2~Nf+z
问题:eclipse中encoding不支持中文51Testing软件测试网V /$a:Q&Q5p
解决:编辑/var/lib/locales/supported.d/local,加一行zh_CN.GBK GBK,执行sudo locale-gen51Testing软件测试网)a]T]lQa:`%o!^

"GM$j[x q,S6~Y0 错误:gnome.h: No such file or directory
c[1_6qe�o+nn0
i%K(ctB'}5s V0 错误: No package 'libpanelapplet-2.0' found51Testing软件测试网/X9I%j S'NC B)S$u/m
原因:51Testing软件测试网/s"J{{e$FI
解决:sudo apt-get install gnome-panel
PMi3I _1@0 51Testing软件测试网*x;u+O*ouP
问题:eva不弹出输入法51Testing软件测试网'p4Ct(i1dj6vp
解决:sudo apt-get install scim-qtimm
![g$u3v2J0 51Testing软件测试网 UW1m+c?D
问题:No package 'gtk+-2.0' found51Testing软件测试网;Sa{/@)/
No package 'gtksourceview-1.0' found51Testing软件测试网(Y)G|dc5ePj
No package 'libgnomeui-2.0' found
9M N/yE@g+T)t0 No package 'libglade-2.0' found51Testing软件测试网$MuD'y4G2I
No package 'libgnomeprintui-2.2' found51Testing软件测试网!]~,L7]"e:g
解决:sudo apt-get install libgtk2.0-dev libgtksourceview-dev libgnomeui-dev libglade2-dev libgnomeprint2.2-dev51Testing软件测试网8uTZ2S;aTY6V

ylg1Yl0 问题:No package 'libpanelapplet-2.0' found51Testing软件测试网Gnr*Y&N9KD3w
解决:sudo apt-get install libpanelappletmm-2.6-dev

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值