sudo aptitude install cmake libgcrypt libjson0 libjson0-dev libcurl4-gnutls-dev libexpat-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-test-dev libqt4-dev
git clone git://github.com/lloyd/yajl yajl
cd ./yajl
./configure
cmake .
make
sudo make install
git clone git://github.com/Grive/grive.git
cd ./grive
cmake .
make
sudo make install
which grive
/usr/local/bin/grive
grive --version
grive version 0.3.0-pre Jan 13 2014 17:18:53