2010年9月26日 星期日

[Archive]ubuntu 8.04 從原始碼來編譯安裝pidgin 2.5.2/Pidgin-Encryption

1. prepare :Install necessary packages:
sudo apt-get install libnss3-dev libnspr4-dev libgtk2.0-dev libxml2-dev \
gettext libgstreamer0.10-dev

Install optional packages:
sudo apt-get install  libmeanwhile-dev libgtkspell-dev libstartup-notification0-dev \
libxss-dev libdbus-glib-1-dev network-manager-dev libperl-dev tcl8.4-dev tk8.4-dev \
libavahi-client-dev libavahi-glib-dev

2. Download source , configure , compile , install
* Download source form http://www.pidgin.im/download/source/ , unpack tarball:
tar jxvf pidgin-2.5.2.tar.bz2
cd pidgin-2.5.2

* Configure
./configure --prefix=/opt/pidgin

* compile
make ; sudo make install

--------------------------------------------------------------
1. Download Pidgin-Encryption source code :http://pidgin-encrypt.sourceforge.net/ , unpack
tar xzvf pidgin-encryption-3.0.tar.gz
cd pidgin-encryption-3.0


2. Configure , compile
./configure --prefix=/opt/pidgin-2.5.2/
make

3. Install
sudo make install

----------------------------------------------------------
3. 移除 complie 需要的 libs /dev
sudo apt-get remove --purge  libnss3-dev libnspr4-dev libgtk2.0-dev libxml2-dev gettext \
libgstreamer0.10-dev libmeanwhile-dev libgtkspell-dev libstartup-notification0-dev libxss-dev \
libdbus-glib-1-dev network-manager-dev libperl-dev tcl8.4-dev tk8.4-dev libavahi-client-dev libavahi-glib-dev

再清乾淨一點
sudo apt-get autoremove;sudo apt-get autoclean;sudo apt-get clean

  • Reference:
http://jhcore.com/2007/06/04/install-pidgin-in-ubuntu/
http://blog.yam.com/lijohnson/article/15805391

沒有留言:

張貼留言

Ceasar's Photo

www.flickr.com