測試環境 Ubuntu 14.04 x86_64 3.13.0-40-generic
1. 安裝 Pidgin
$ sudo apt-get install pidgin
2. 安裝編譯環境
$ sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev python-dev
3. 下載 thrift ( http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.tar.gz )
4. 解壓縮 thrift
$ tar zxvf thrift-0.9.2.tar.gz
5. 編譯與安裝 thrift
$ cd thrift-0.9.2/
$ ./configure --without-tests
$ make
$ sudo make install
6. 下載 purple-line 的外掛
$ cd ~/
$ git clone http://altrepo.eu/git/purple-line.git/
$ cd purple-line/
$ wget http://altrepo.eu/git/line-protocol.git/blob_plain/HEAD:/line_main.thrift
$ make
$ make install
$ sudo ldconfig
接下來重新開機之後,就可以啟動 Pidgin 並且新增 Line 的帳號了。
參考文章:http://blog.livedoor.jp/hiroumauma/archives/1710677.html