Linux

官方网站:
https://github.com/xiehuc/lwqq
https://github.com/xiehuc/pidgin-lwqq
https://github.com/xiehuc/pidgin-lwqq/wiki/Install-From-Source
https://github.com/xiehuc/pidgin-lwqq/wiki/FAQ#package-lwqq-not-found

简 介

为linux的pidgin提供qq协议,基于webqq服务. 是在lwqq基础上开发而来. lwqq库是一个非常严谨有效的webqq协议的库.lwqq 即是 linux webqq 之意

说明

lwqq 基于WebQQ,所以WebQQ做不到的,lwqq不可能做到。出了问题 ,建议用WebQQ尝试下,发issue前请先搜索下历史issue。lwqq 仅是 Pidgin 的一个插件 ,有些 Pidgin 不支持的,lwqq 也无法越权支持。


一.安装lwqq
root@localhost:~#yum -y install mozjs17-devel libev-devel
root@localhost:~#git clone https://github.com/xiehuc/lwqq.git
root@localhost:~#cd lwqq
root@localhost:~#mkdir build && cd build
root@localhost:~#cmake .. && make -j4 && make install

#create python egg install package
root@localhost:~#make python 
#install python bindings (optional)
root@localhost:~#easy_install python/dist/*.egg


二.安装pidgin-lwqq
注意:一定要链接lwqq.pc到pkgconfig路径PKG_CONFIG_PATH,具体可以man pkgconfig
root@localhost:~#ln -s /usr/local/lib/pkgconfig/lwqq.pc /usr/share/pkgconfig
不然cmake时会报如下错误 package 'lwqq>=0.6.0' not found

root@localhost:~#yum -y install libpurple-devel
root@localhost:~#git clone https://github.com/xiehuc/pidgin-lwqq.git
root@localhost:~#cd pidgin-lwqq
root@localhost:~#mkdir build && cd build
root@localhost:~#cmake .. && make -j4 && make install