linux下安装软件出错的解决方法

  $ sudo aptitude install scim-qtimm 解决eva 下无法使用 scim输入法的问题
,~ af,g jwev}0 (1)
#GsnZOT`4Ka)S3{0 sudo ./configure --prefix=/usr
m B*T0Ady8l:v0 之后出现一下错误:
D#xo7m'yF4j0 checking how to run the C++ preprocessor... /lib/cpp51Testing软件测试网h1K4e |p5o4u2Wv
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
5T([3vM&U0 See `config.log' for more details.
D+z$Duz!jl's5an0 解决办法: sudo aptitude install build-essential
.l `U:`1y*FrN C0 (2)
"~8q(F%aX0 checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!51Testing软件测试网2IIww m9zZ*@6g](G A
解决办法: sudo aptitude install libx11-dev xorg-dev
p1?�dR.^?H0 (3)
n;^vU%k"G%u0 checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
,G3AG�V){~.g,^jK0 解决办法: sudo aptitude install qt3-apps-dev
^M6~p8`9CD$k0 (4)
2~#i)G,N@ ehG0 checking for KDE... configure: error:
i-j-~7S(Kde3tn2U(}0 in the prefix, you've chosen, are no KDE headers installed. This will fail.51Testing软件测试网2y.J.MOl/X
So, check this please and use another prefix!51Testing软件测试网e:F+vv oN_ a
解决办法:   sudo aptitude install kdebase-dev
OtyWM4iEJE0
{"p1L` bT)x0
./configure错误全搞掂
Tuesday, April 17, 2007, 06:50 PM
错误: C compiler cannot create executables
2?*Q T5sVe*@0 原因: 51Testing软件测试网LO8S:L U+JN
解决:sudo apt-get gcc libc6-dev 51Testing软件测试网)O(Cy5mJ'z

j(t#f8E?"MIz0 错误:checking for C compiler default output... configure: error: C compiler cannot create executables 51Testing软件测试网./"j%a2^9s |.kPE
原因: 51Testing软件测试网N|_ RaR l'ubDc
解决:sudo apt-get install libc6-dev 51Testing软件测试网�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-essential 51Testing软件测试网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-dev 51Testing软件测试网;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 kdelibs4c2a 51Testing软件测试网,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 autoconf 51Testing软件测试网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~
原因:没装GTK 51Testing软件测试网!yPZ#[Mn8]nbT
解决:apt-get build-dep gedit 51Testing软件测试网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 found 51Testing软件测试网8L/pP!ZtMT!F v�O'o
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in 51Testing软件测试网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-gen 51Testing软件测试网)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' found 51Testing软件测试网/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' found 51Testing软件测试网;Sa{/@)/
No package 'gtksourceview-1.0' found 51Testing软件测试网(Y)G|dc5ePj
No package 'libgnomeui-2.0' found
9M N/yE@g+T)t0 No package 'libglade-2.0' found 51Testing软件测试网$MuD'y4G2I
No package 'libgnomeprintui-2.2' found 51Testing软件测试网!]~,L7]"e:g
解决:sudo apt-get install libgtk2.0-dev libgtksourceview-dev libgnomeui-dev libglade2-dev libgnomeprint2.2-dev 51Testing软件测试网8uTZ2S;aTY6V

ylg1Yl0 问题:No package 'libpanelapplet-2.0' found 51Testing软件测试网Gnr*Y&N9KD3w
解决:sudo apt-get install libpanelappletmm-2.6-dev
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值