preparation:
sudo apt-get install -y libboost-all-dev
sudo apt-get install -y autoconf automake autotools-dev
sudo apt-get install -y libnetcdf-dev
build:
build $ ../configure "CXXFLAGS=-g -O0"
useful references for solving building errors:
1. http://sourceforge.net/p/rnnl/discussion/1183966/thread/3868057e/
2. http://sourceforge.net/p/rnnl/discussion/1183966/thread/84f2025b/#742b/f9c9/c849/5687
3. http://www.boost.org/doc/libs/1_58_0/libs/range/doc/html/range/concepts/random_access_range.html
4. libtool version mismatch error