51Testing软件测试网.o)]1M:\ Qbsudo apt-get install 软件包 这个是更新你指定的软件包
9V
SB N$w\u0sudo apt-get update 获取更新列表
"G&z!d_9d.`:|{0y0sudo apt-get dist-upgrade 开始更新
WQ+HN9K*m$@0./configure的问题
o.||#}ljVO0tS^/Wd"J.q.r0错误: C compiler cannot create executables
!{&`I5n
lIW0原因:51Testing软件测试网4fWkL}-n0}-WU
解决:sudo apt-get gcc libc6-dev
9H?c4E2d
a051Testing软件测试网6I/I#F
}V,B错误:checking for C compiler default output... configure: error: C compiler cannot create executables51Testing软件测试网,T.\.h3J\3t
原因:
7UG5n(w[
g{0解决:sudo apt-get install libc6-dev
G"Q,y+`va01XqF*qj_'wR1C0错误:configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Kp$l
w m"_4l0原因:gcc的组件没装全
+a[-d9x5P9|W0解决:apt-get install build-essential51Testing软件测试网6r6uq] ei7F,f6T]4T
a%F
xct;uk0错误: Can't find X includes. Please check your installation and add the correct paths!
u[+P|O0原因:没有X的包含文件
9Yk${W&zu2CJ0解决:安装xlibs-dev即可51Testing软件测试网v0glZ-Zm)r*[
vH%}s5E
51Testing软件测试网uw0vHVhHg$W
\sF错误: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
"e.?S7t zm@;|0原因:查找提供qt的lib&&headers的软件包,并安装之
iE)a,]'_}C0解决:apt-get install libqt3-headers libqt3-mt-dev
OEC9d]wf)M*T`0tT5qn[0错误:in the prefix, you've chosen, are no KDE headers installed. This will fail.
.?O\7Tb.pf0So, check this please and use another prefix!
#xT^*x GHW0原因:install a KDE application in a Gnome environment。51Testing软件测试网!V tgF6RHq;ZLR
解决:which basically means its going to want to install a lot of KDE specific packages to work. This 'configure:error'51Testing软件测试网T!FqlC
is due to it expecting you to be running KDE and again refers to some 'headers'.
s
s PhxP"dy0sudo apt-get update
_vg'j1hkV^0sudo apt-get install kdelibs4-dev kdelibs4c2a
t)S)I,d"Y2]2H]3d+V2v.B051Testing软件测试网`Edb*n]5u:p$Y&Ns.x错误:./admin/cvs.sh: 585: autoconf: not found51Testing软件测试网rqfW%cEFb![%Mb:`
原因:
1P&dRtH4oW#T.}
O0解决:apt-get install autoconf
2A3ATs3Lx2F051Testing软件测试网x4~3JNI错误: *** GTK >= 2.4.0 not installed! ***
7]U"w"G@6e,w \0原因:没装GTK51Testing软件测试网&c:~6q c_PS
解决:apt-get build-dep gedit51Testing软件测试网:Hd tG
_@\(`B
:Z2\t8K~0nq)WzM0错误:heching for gtk-config... no51Testing软件测试网 ~UpH9E Q
checking for GTK - version = 1.2.0... no
8r$q
m8Em
r$q]0*** The gtk-config script. installed by GTK could not be found51Testing软件测试网wFM\4s3\+`
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in51Testing软件测试网*}A:FXXg;H N+`d(o
*** your path, or set the GTK_CONFIG enviroment variable to the
L4A!SR;Pi5_6w0*** full path to gtk-config.51Testing软件测试网RQ(}h e6_
configure: error: Cannot find GTK: Is gtk-config in path?
Dd,Hv:f2w0原因:
{E:[/wX V0解决:sudo apt-get install libgtk1.2-dev
qw({t$i!u3s0,P8Zk H`&|j+]2G0问题:eclipse中encoding不支持中文51Testing软件测试网
qY+Y8L#V[%V
解决:编辑/var/lib/locales/supported.d/local,加一行zh_CN.GBK GBK,执行sudo locale-gen
4p9~C
eZs051Testing软件测试网 y
r$tT!p$_错误:gnome.h: No such file or directory51Testing软件测试网8y^j
MpA1a
i0NJ-wKgg0错误: No package 'libpanelapplet-2.0' found
o IW^U2B0原因:51Testing软件测试网/GP
{*mG
解决:sudo apt-get install gnome-panel51Testing软件测试网.B }xS0Z'P8c9W'~
/hJ$Fxi-|
w0问题:eva不弹出输入法
:GI7G'zIf0解决:sudo apt-get install scim-qtimm
DV/S,kN$u0$BrQu@Y0问题:No package 'gtk+-2.0' found51Testing软件测试网%t|K/~"C)JTA
uk
No package 'gtksourceview-1.0' found51Testing软件测试网6M C E;w
Z
No package 'libgnomeui-2.0' found
2p+j zj;MK0No package 'libglade-2.0' found51Testing软件测试网q[ Q{4^#b `c.}R)o
No package 'libgnomeprintui-2.2' found51Testing软件测试网/tN"_{w9e r
解决:sudo apt-get install libgtk2.0-dev libgtksourceview-dev libgnomeui-dev libglade2-dev libgnomeprint2.2-dev
k5PdK3H8P.tXo P051Testing软件测试网2`VK)dB3u
_&^问题:No package 'libpanelapplet-2.0' found
;Fr,Sv3r](e5X2y0解决:sudo apt-get install libpanelappletmm-2.6-dev51Testing软件测试网i$Mo2}]|C/|C
51Testing软件测试网'g e}
G g;_5^0Y(t@3z编译安装 Pidgin 的步骤51Testing软件测试网%|d}\0Q9L*}X q
51Testing软件测试网'Z\
W5Tm1G1. 下载 Pidgin 的源代码包 pidgin-2.1.1.tar.bz2 (官方最新的版本)。
-q{yJ'?0\7Q7u4K0wget [url]http://jaist.dl.sourceforge.net/sourceforge/pidgin/pidgin-2.1.1.tar.bz2[/url]
2v%Xo/U%sJ9]051Testing软件测试网"A@P;ML|.`r!O9I2. 安装编译 Pidgin 所需的依赖:
Iy)K5{U{9C+_(C4?0sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev51Testing软件测试网
m hyU'jAyl5E7F
n4m'{0VI.z03. 解压源代码包51Testing软件测试网 @0Sq,{L
tar jxvf pidgin-2.1.1.tar.bz251Testing软件测试网Ckvf~B6J
cd pidgin-2.1.1
rOF
QqD~3k051Testing软件测试网)zU@*oh4. 编译
qXz)NVun#]6P0./configure (建议使用 –help 查询需要用到的参数)
fKo2C*^+U,_+s0make51Testing软件测试网5Xik,Pxh5\}
sudo make install51Testing软件测试网I\GAnC
如果在 ./configure 这一步出现错误51Testing软件测试网T-T,_"} ~:W"D(M;w
f U:c&NY0错误一:51Testing软件测试网%O9J/C Q3p)X
configure: error:
Czt%vqEV051Testing软件测试网7xA;N9OxUYou must have the GTK+ 2.0 development headers installed to compile Pidgin.
x+vL0e Rp0If you only want to build Finch then specify –disable-gtkui when running configure.51Testing软件测试网5xk\4G_MtL4A
解决:51Testing软件测试网DyP*juWZ
sudo apt-get install libgtk2.0-dev
c
E:Q:WH?$v;}}0 nM4vgXZL0错误二:51Testing软件测试网!ixr6Y9l/rnW
configure: error:
e Sa?5g!V9w06Q#VeI%m%dI0You must have libxml2 >= 2.6.0 development headers installed to build.
F s,MJ&F w7}G6[0解决:51Testing软件测试网{D!G-l,JQ
sudo apt-get install libxml2-dev
3cg9d(G#|o-v'p051Testing软件测试网PO$A
\0k$u"J4pv[*d错误三:
)v~ @u5{9cQ9g0configure: error:
@W9?*N3N0b051Testing软件测试网7m"v[.K0hLOThe msgfmt command is required to build libpurple. If it is installed on your system, ensure that it is in your path. If it is not, install GNU gettext to continue.51Testing软件测试网/}nd `{6Y3G'G)}:~
解决:51Testing软件测试网 t_1rw
I-[MD
sudo apt-get install gettext51Testing软件测试网)B1h-J)W3R$Sk
如果在使用 GTalk 或 MSN 时出现错误
.R+ND6rg5j!Y6k051Testing软件测试网w]E)\_)V错误:
3Fr)o8x#|B&C&^(]k2G0SSL Library/Libraries……… : None (MSN and Google Talk will not work
x!QOd
T.j4qq0without SSL!)
^Togi$Pk0解决:
)g(CCh tB5Q8PI0sudo apt-get install libnss-dev libnspr-dev51Testing软件测试网YF4U"EDk.WFC
51Testing软件测试网~q8N(~#g6}!`&e$^P{#O:I
O(?zHEL)N]fT0Ubuntu编译时找不到Makefile的解决办法ZDNet 软件频道 更新时间:2007-09-26作者: korn 来源:赛迪网 51Testing软件测试网z#c xI8?!e~"Ex(Np
本文关键词: Ubuntu Proftp
PB
yS2|3v3~.SJ\1p0如果是需要编译的环境,推荐安装"build essential"包,51Testing软件测试网]ZI"xv
51Testing软件测试网ct D"W!d'~@ s#sudo apt-get install "build-essential"51Testing软件测试网:Q5igW;yCT&{7F
51Testing软件测试网ZP/F:s3A?._,O\%J~在用./configure ,make , makeinstall ,方法安装软件是,经常会发生发生各种错误,而导致无法生成 makefile 文件。现在我把我安装过程中遇到的问题以及解决办法写下来,希望对大家有点帮助。51Testing软件测试网_c mgg
}F)l0G%V+J
51Testing软件测试网$O,M'dp'js-x'}以我安装 pidgin-2.0.0为例
)z
r3A?v2w0I2ufFy}*SE0#./configure 出现错误 :
+Mu+W,Q/A|6V051Testing软件测试网*BV7HK1N9Rconfigure: error: C compiler cannot create executables51Testing软件测试网;I,@2\4O7v}
U \1Lc/H0按照错误提示安装缺少的包51Testing软件测试网a%pVV5X
$eNbasV)]l@5n0#sudo apt-get install libc6-dev
T2g,H
t1_/L}g,i051Testing软件测试网GB;L*N ]8[f再次51Testing软件测试网&n$`-Fw2o6l
51Testing软件测试网R(y(Z*W2`
B-c |#./configure51Testing软件测试网b tJ2J'`3\e
vY!A6_'EUt3Z0出现错误
#\ f
I_8|i0:Rr)s [0`I6g*L0checking for GLIB... no
!f
T2r6VK051Testing软件测试网LIhWWcql @]no