每次刚装系统,需要到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 libxml2 >= 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
阅读(623) | 评论(0) | 转发(0) |