Grive / grive

an open source Linux client for Google Drive
http://www.lbreda.com/grive/start
GNU General Public License v2.0
1.59k stars 378 forks source link

Server Debian Wheezy cmake problem #257

Open maciekmp opened 10 years ago

maciekmp commented 10 years ago

Hello my friends,

I was trying to compile grive because I can't install it with apt-get command. After running "cmake ." command a get logs below. Does it mean that I need qt4 lib on my server?

-- Found libgcrypt: -L/lib/x86_64-linux-gnu -lgcrypt
-- Found JSON-C: /usr/lib/x86_64-linux-gnu/libjson.so
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   program_options
--   filesystem
--   unit_test_framework
--   system
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   program_options
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
  QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
  QT_QTCORE_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindQt4.cmake:1200 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  bgrive/CMakeLists.txt:3 (find_package)

-- Configuring incomplete, errors occurred!
lxs commented 10 years ago

Replicated this same problem on Debian i386 (Viglen MPC). Identical error returned, albeit with different architecture values ("x86_64-linux-gnu" vs "i386-Linuz-gnu").

From quick inspection of library folders, there do not appear to be the qtchooser conf files in either /usr/shar/qt4 nor in /usr/lib/i386-linux-gnu/qt4 The first folder only contains translations folder, whilst the second contains imports and plugins folder.

More investigation required... will update with any subsequent findings.

pipboy20k commented 9 years ago

Hi, sry if i dig this up, but I just had the same issue on my Debian Wheezy (x64). Any updates? I would highly appreciate it.

Burizado29 commented 9 years ago

Hi, I ran through the setup steps located here: http://www.lbreda.com/grive/installation and I am getting the same error when running Step 4, the command is "cmake ."

Just for reference I am running this on Raspberry Pi installed with RetroPi (Raspbian). Anyone have any fix for this?