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

Error building following WIKI #128

Closed leesah closed 11 years ago

leesah commented 11 years ago

Environment

$ uname -iv
#30-Ubuntu SMP Tue Nov 13 17:48:01 UTC 2012 x86_64

Issues According to the WIKI page you only need install these:

sudo apt-get install build-essential cmake pkg-config libglib2.0-dev libcurl4-openssl-dev libpurple-dev

Actually you need two more

sudo apt-get install libsqlite3-dev libgtk-3-dev

And after installing all above, it still fails:

$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DUOA=On ..
would install to: /usr/lib/purple-2

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

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EV_LIBRARY (ADVANCED)
    linked by target "webqq" in directory /home/sah/workspaces/pidgin-lwqq/src

-- Configuring incomplete, errors occurred!
xiehuc commented 11 years ago

i think it is obviously to install libsqlite3-dev according to results of cmake configuration.

well

only ubuntu 12.10 should open UOA option. and it may need other dev package i forgot yet.

there is a mistaken of cmake file about ev_library.i would fix it soon.

2012/12/4 Sah notifications@github.com

Environment

$ uname -iv

30-Ubuntu SMP Tue Nov 13 17:48:01 UTC 2012 x86_64

Issues According to the WIKI page you only need install these:

sudo apt-get install build-essential cmake pkg-config libglib2.0-dev libcurl4-openssl-dev libpurple-dev

Actually you need two more

sudo apt-get install libsqlite3-dev libgtk-3-dev

And after installing all above, it still fails:

$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DUOA=On .. would install to: /usr/lib/purple-2

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

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: EV_LIBRARY (ADVANCED) linked by target "webqq" in directory /home/sah/workspaces/pidgin-lwqq/src

-- Configuring incomplete, errors occurred!

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

xiehuc commented 11 years ago

try again with newest dev branch

leesah commented 11 years ago

Still the same error on dev branch.

$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DUOA=On ..
would install to: /usr/lib/purple-2

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

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EV_LIBRARY (ADVANCED)
    linked by target "webqq" in directory /home/sah/workspaces/pidgin-lwqq/src

-- Configuring incomplete, errors occurred!
lainme commented 11 years ago

If you enabled UOA support, also install the following package

sudo apt-get install libaccount-plugin-1.0-dev libaccounts-glib-dev empathy

The wiki is not updated for the newly added features.

xiehuc commented 11 years ago

nice work. i just forgot these libraries' names.

leesah commented 11 years ago

Thanks. I think it'd be better if these information could be put to the wiki page, since it seems easy enough to do so.