Chinaunix首页 | 论坛 | 博客

  • 博客访问: 899355
  • 博文数量: 226
  • 博客积分: 10077
  • 博客等级: 上将
  • 技术积分: 2708
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-25 14:36
文章分类

全部博文(226)

文章存档

2010年(15)

2009年(82)

2008年(129)

我的朋友

分类: LINUX

2008-06-01 13:48:41

每次刚装系统,需要到pidgin上Q。
因为源里面没有pidgin,所以要自己编译一个,但却每次都要面对烦人的依赖问题,搞得很烦。
写这个为了不用每次编译的时候都要查资料,也让后面的人参考一下
首先,我们要安装编译环境(我没有试过不安装的情况下编译pidgin,不知道具体会出现什么错误)
sudo apt-get install build-essential
sudo apt-get install gcc-3.4
sudo apt-get install linux-headers-`uname -r`  export CC=gcc-3.4

然后编译pidgin
./configure
出错:checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
解决: sudo apt-get install libc6-dev

出错:The 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.
解决:sudo apt-get install gettext

出错:You must have the GLib 2.0 development headers installed to build.
解决:sudo apt-get install libglib2.0-dev

出错:You must have
the GTK+ 2.0 development headers installed to compile Pidgin.
解决:
sudo aptitude install libgtk2.0-dev

出错:You must have libxm
l2 >= 2.6.0 development headers installed to build.
解决:
sudo apt-get install libxml2-dev

make
sudo make install

总结:需要安装的编译环境是

sudo apt-get install build-essential
sudo apt-get install gcc-3.4
sudo apt-get install linux-headers-`uname -r`  export CC=gcc-3.4
sudo apt-get install libc6-dev
sudo apt-get install gettext
sudo apt-get install libglib2.0-dev
sudo apt-get install libgtk2.0-dev
sudo apt-get install libxml2-dev

MSN 支持 :
apt-get install libgnutls-dev     
apt-get install libnss3-dev
--
XML依赖:libxml-parser-perl

gettext依赖:gettext

GTK+ 2.0依赖:libgtk2.0-dev


阅读(592) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~