您查看的文章来源于http://www.oklinux.cn
按照错误提示安装缺少的包
#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 或者 用命令
#sudo apt-cache search GLib 2.0
发现有个包 libglib2.0-dev - Development files for the GLib library 。
选择安装;
#sudo apt-get install libglib2.0-dev
这里原文为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
成功安装软件。
如果在./configure中还出现问题,那么要找到问题所在,安装缺失的包即可。
在配置过程中,config.log文件是很有帮助的。我们可以在这里面找出错误的根源,从而寻找应对措施。