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

package 'lwqq>=0.3.0' not found? #530

Closed zjhxmjl closed 10 years ago

zjhxmjl commented 10 years ago

cmake .. -- The C compiler identification is GNU 4.8.2 -- The CXX compiler identification is GNU 4.8.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") -- checking for module 'purple' -- found purple, version 2.10.9 -- checking for module 'glib-2.0' -- found glib-2.0, version 2.36.3 -- checking for module 'lwqq>=0.3.0' -- package 'lwqq>=0.3.0' not found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) CMakeLists.txt:21 (pkg_check_modules)

libpurple version:2.10.9 -- Found Gettext: /usr/bin/msgmerge (found version "0.18.2") ===============pidgin-lwqq flags=============== -- Native Language Support : true

-- Install Path : /usr/lib/purple-2

-- Configuring incomplete, errors occurred!

oglops commented 10 years ago

你不是都贴出来了

-- package 'lwqq>=0.3.0' not found

这不是告诉你了自己要先去编译lwqq么

zjhxmjl commented 10 years ago

能否提供下lwqq>=0.3.0下载链接

jiuerd commented 10 years ago

@zjhxmjl https://github.com/xiehuc/lwqq

CapnKernel commented 10 years ago

I'm also having this problem. It means I can't compile lwqq as an RPM. What's happening? Has lwqq become a library that needs installing before pidgin-lwqq can be used?

xiehuc commented 10 years ago

yes, lwqq is a dependent library designed for provide webqq for c and python pidgin-lwqq is using lwqq to provide webqq for pidgin.

before, both of them are binded together, but indeed, they are two different library.

compile lwqq and edit ~/.xprofile about $LD_LIBRARY_PATH to contain lwqq.so's path, then compile pidgin-lwqq.

as for make rpm, just make two packages.

在2014年05月5,下午 7:21,Mitch Davis notifications@github.com 写道:

I'm also having this problem. It means I can't compile lwqq as an RPM. What's happening? Has lwqq become a library that needs installing before pidgin-lwqq can be used?

— Reply to this email directly or view it on GitHub.

chenkkkk commented 10 years ago

但我已经编译安装了lwqq,还是提示not find lwqq怎么办‘

oglops commented 10 years ago

你确定“安装”了么,如果安装了不是会自动找到么

On Sun, May 18, 2014 at 10:29 PM, chenkkkk notifications@github.com wrote:

但我已经编译安装了lwqq,还是提示not find lwqq怎么办‘

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

lainme commented 10 years ago

@chenkkkk 如果你是安装到/usr/local的,需要把/usr/local/lib加到LD_LIBRARY_PATH里,具体看wiki。如果不想改,就安装到/usr下面

cmake .. -DCMAKE_INSTALL_PREFIX=/usr

chenkkkk commented 10 years ago

我上次在安装pidgin-lwqq也遇到了这个问题,(在lwqq已经装好的情况下);然后 xiehuc 回答让我更新到最新的dev分支;但我忘记了我是怎么弄的了; 我的安装步骤是 git clone https://github.com/xiehuc/pidgin-lwqq.git git checkout -b dev origin/dev git submodule init git submodule update 执行这init update两条命令是没什么提示信息 $ mkdir build $ cd build $ cmake ..到这提示not found lwqq

lainme commented 10 years ago

@chenkkkk 检查你lwqq装在哪里。然后看我上一条留言和lwqq的wiki https://github.com/xiehuc/lwqq/wiki/Build-From-Source

chenkkkk commented 10 years ago

谢谢;问题已解决