您的位置:首页 > 其它

安装pidgin-2.0.1过程中的错误及解决方案

2007-06-21 13:24 666 查看
今天在尝试安装pidgin,过程碰到的许多问题,我想是初学者常遇到的困难,现写出来,供大家分享!

./configure 出现错误 :

configure: error: C compiler cannot create executables
按照错误提示安装缺少的包
sudo apt-get install libc6-dev
再次
./configure
出现错误
checking for GLIB… no
no
configure: error:

You must have the GLib 2.0 development headers installed to build.
根据错误提示 用新得立 搜索 GLib 2.0 或者 用命令 apt-cache search GLib 2.0
有个包 libglib2.0-dev - Development files for the GLib library
安装
sudo apt-get install libglib2.0-0-dev

./configure
又出现错误
checking for X… no
checking for GTK… no
no
configure: error:

You must have the GTK+ 2.0 development headers installed to compile Pidgin.
If you only want to build Finch then specify –disable-gtkui when running configure.

用如上同样的方法查找到缺少的包 并安装
sudo apt-get install libgtkmm2.0-dev

./configure 出现错误

checking for LIBXML… no
no
configure: error:

You must have libxml2 >= 2.6.0 development headers installed to build.

于是安装
sudo apt-get install libxml2-dev

经过上面包的安装,在次./configure 没有在出现错误,这次成功的声称了makefile
然后在
make
make install
成功安装软件。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐