xiehuc / pidgin-lwqq

a pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol
GNU General Public License v3.0
660 stars 185 forks source link

编译安装失败 #170

Closed alicx closed 11 years ago

alicx commented 11 years ago

cmake .. -DUOA=On -DWITH_LIBEV=On -- checking for module 'purple>=2.8.0' -- package 'purple>=2.8.0' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:10 (pkg_check_modules)

-- checking for module 'glib-2.0' -- package 'glib-2.0' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:11 (pkg_check_modules)

-- checking for module 'sqlite3' -- package 'sqlite3' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:13 (pkg_check_modules)

would install to:

-- Found libev: /usr/lib/libev.so CMake Error at src/CMakeLists.txt:58 (INSTALL): install TARGETS given no LIBRARY DESTINATION for module target "webqq".

-- checking for module 'account-plugin' -- package 'account-plugin' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:44 (pkg_check_modules)

-- checking for module 'gtk+-3.0' -- package 'gtk+-3.0' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:45 (pkg_check_modules)

CMake Error at ubuntu-online-account/CMakeLists.txt:15 (INSTALL): install TARGETS given no LIBRARY DESTINATION for module target "plugin".

-- Configuring incomplete, errors occurred!

alicx commented 11 years ago

ubuntu12.10 ~~原先用ppa装的,装上去了怎么感觉界面和你们都不一样~~~so 打算用源码安装,结果一编译就报错误

felixonmars commented 11 years ago

根据提示装相应的dev包先. 还有什么叫 "感觉界面和你们都不一样"? 给个截图?

alicx commented 11 years ago

根据网上提供的 sudo apt-get install libpurple0 之后 然后提示就变成~~ cmake .. -DUOA=On -DWITH_LIBEV=On -- checking for module 'purple>=2.8.0' -- found purple, version 2.10.6 -- checking for module 'glib-2.0' -- found glib-2.0, version 2.34.1 -- checking for module 'sqlite3' -- package 'sqlite3' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:13 (pkg_check_modules)

would install to: /usr/lib/purple-2

-- Found libev: /usr/lib/libev.so -- checking for module 'account-plugin' -- package 'account-plugin' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:44 (pkg_check_modules)

-- checking for module 'gtk+-3.0' -- package 'gtk+-3.0' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:45 (pkg_check_modules)

CMake Error at ubuntu-online-account/CMakeLists.txt:15 (INSTALL): install TARGETS given no LIBRARY DESTINATION for module target "plugin".

-- Configuring incomplete, errors occurred!

可是sqlite3 我装过的~~不知道这个怎么找不到~~要装那个包?

alicx commented 11 years ago

我已经删掉了~~~截图没有~~就是一个很丑的框框~~啥都没有~~~是根据这个网址提供的ppa装的http://my.oschina.net/noahxiao/blog/88687 我说的和你们不一样是说连这个http://www.ubuntusoft.com/pidgin-lwqq.html里的图片截图的样子都没有~~更别说提到的支持什么群功能了。。。。

felixonmars commented 11 years ago

要装相关的 dev 包, 比如 sqlite3 => libsqlite3-dev

alicx commented 11 years ago

恩恩~~~根据你的提示,都装了,然后cmake终于通过了~但是make的时候又报了一个错误 In file included from /home/xiaoxiao/Downloads/pidgin-lwqq-master/ubuntu-online-account/empathy-accounts-plugin.h:24:0, from /home/xiaoxiao/Downloads/pidgin-lwqq-master/ubuntu-online-account/account-plugin.h:4, from /home/xiaoxiao/Downloads/pidgin-lwqq-master/ubuntu-online-account/account-plugin.c:1: /usr/include/libaccount-plugin/plugin.h:28:41: fatal error: libaccounts-glib/ag-account.h: No such file or directory compilation terminated. make[2]: * [ubuntu-online-account/CMakeFiles/plugin.dir/account-plugin.c.o] Error 1 make[1]: * [ubuntu-online-account/CMakeFiles/plugin.dir/all] Error 2 make: *\ [all] Error 2

felixonmars commented 11 years ago

@alicx 看这里: https://github.com/xiehuc/pidgin-lwqq/wiki/Install-From-Source-chs

alicx commented 11 years ago

@felixonmars 根据你给的链接地址,安装好了~~需要重启么?

alicx commented 11 years ago

@felixonmars 打开online Screenshot from 2013-01-10 15:37:10 怎么添加qq?

xiehuc commented 11 years ago

不推荐用empathy.推荐pidgin.empathy没有经过充分测试.

2013/1/10 alicx notifications@github.com

@felixonmars https://github.com/felixonmars 打开online [image: Screenshot from 2013-01-10 15:37:10]https://f.cloud.github.com/assets/1212327/55975/94c55e92-5af8-11e2-86c3-fc1ecf387b67.png 怎么添加qq?

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/170#issuecomment-12083685.

alicx commented 11 years ago

@xiehuc 这个~~怎么整?

xiehuc commented 11 years ago

好像选empathy里面就又WebQQ了.

如果没有的话.就是哪里错了. 或者是教程过期了.

2013/1/10 alicx notifications@github.com

@xiehuc https://github.com/xiehuc 这个~~怎么整?

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/170#issuecomment-12083838.

alicx commented 11 years ago

@xiehuc 好吧,我整了个pidgin~~但是这个在状态栏上没有图标~~~这个有办法解决么?

xiehuc commented 11 years ago

唉.不太清楚.我一般用gnome shell.

2013/1/10 alicx notifications@github.com

@xiehuc https://github.com/xiehuc好吧,我整了个pidgin~~但是这个在状态栏上没有图标~~~这个有办法解决么

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/170#issuecomment-12083947.

alicx commented 11 years ago

@xiehuc 555555555555~~谢谢你哈,还有 @felixonmars

xiehuc commented 11 years ago

不客气.

2013/1/10 alicx notifications@github.com

@xiehuc https://github.com/xiehuc 555555555555~~谢谢你哈,还有 @felixonmarshttps://github.com/felixonmars

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/170#issuecomment-12084276.