Posted March 02, 2013
There are also errors because of too old gcc/g++ and libboost-filesystem. Getting it to build on Debian stable would require rewriting some of the code to get rid of all the C++11 features that are used.
WARNING
Following these instructions will install lots of packages from testing. Some of them can cause some serious problems when other packages aren't updated at the same time. Among the installed packages are kernel and libc, so the potential for possible disaster is high.
Add testing to /etc/apt/sources.list
Pin testing to -1 in /etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: -1
sudo apt-get update
sudo apt-get install -t testing librhash-dev libhtmlcxx-dev libjsoncpp-dev libboost-filesystem-dev g++-4.6
wget http://sites.google.com/site/gogdownloader/lgogdownloader-1.20.tar.gz
tar -xvzf lgogdownloader-1.20.tar.gz
cd lgogdownloader-1.20
sed -e "s;rhash.h;rhash/rhash.h;" -i *.cpp */*.cpp */*.h
sed -e "s;gcc;gcc-4.6;g" -e "s;g++;g++-4.6;g" -i Makefile
make release
sudo make install
WARNING
Following these instructions will install lots of packages from testing. Some of them can cause some serious problems when other packages aren't updated at the same time. Among the installed packages are kernel and libc, so the potential for possible disaster is high.
Add testing to /etc/apt/sources.list
Pin testing to -1 in /etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: -1
sudo apt-get install -t testing librhash-dev libhtmlcxx-dev libjsoncpp-dev libboost-filesystem-dev g++-4.6
wget http://sites.google.com/site/gogdownloader/lgogdownloader-1.20.tar.gz
tar -xvzf lgogdownloader-1.20.tar.gz
cd lgogdownloader-1.20
sed -e "s;rhash.h;rhash/rhash.h;" -i *.cpp */*.cpp */*.h
sed -e "s;gcc;gcc-4.6;g" -e "s;g++;g++-4.6;g" -i Makefile
make release
sudo make install