Installing grive on Fedora

Fedora 20 in this case, on desktop Dell machine at home.

Main reference: a Linux Journal article. There was also a problem searching the correct JSON library.

Preparation:

yum install automake autoconf openssl openssl-devel json-c json-c-devel curl curl-devel libcurl-devel libcurl libarchive libarchive-devel libidn libidn-devel expat expat-devel binutils binutils-devel cmake boost-devel libgcrypt-devel qt-devel yajl-devel

Build and install:

git clone https://github.com/Grive/grive.git
cd grive
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DJSONC_LIBRARY=/usr/lib64/libjson-c.so .
make all
cp -rpv grive/doc bgrive
sudo make install

Authenticate and start initial download:

mkdir ~/.grive
cd ~/.grive
rehash
grive -a

For 32-bit Linux, needed additional patch to State.cc.