/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/amber14/AmberTools/src/mtkpp/lib/boost_1_38_0 -I./.. -g -O2 -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK -O2 -fPIC -DHAVE_ZLIB -MT MTKException.lo -MD -MP -MF .deps/MTKException.Tpo -c -o MTKException.lo MTKException.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/amber14/AmberTools/src/mtkpp/lib/boost_1_38_0 -I./.. -g -O2 -DNDEBUG -DUSE_TINYXML -DTIXML_USE_STL -DC99_OK -O2 -fPIC -DHAVE_ZLIB -MT MTKException.lo -MD -MP -MF .deps/MTKException.Tpo -c MTKException.cpp -fPIC -DPIC -o .libs/MTKException.o In file included from MTKException.h:13:0, from MTKException.cpp:8: /usr/include/boost/exception.hpp:9:2: error: #error The header has been deprecated. Please #include instead. #error The header has been deprecated. Please #include instead. ^ In file included from MTKException.cpp:8:0: MTKException.h:24:29: error: 'boost' has not been declared class MTKException : public boost::exception { ^ MTKException.h:24:36: error: expected '{' before 'exception' class MTKException : public boost::exception { ^ MTKException.h:24:46: error: invalid type in declaration before '{' token class MTKException : public boost::exception { ^ MTKException.h:24:46: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] MTKException.h:25:1: error: expected primary-expression before 'public' public: ^ MTKException.h:25:1: error: expected '}' before 'public' MTKException.h:25:1: error: expected ',' or ';' before 'public' MTKException.h:27:1: error: expected unqualified-id before 'public' public: ^ MTKException.h:29:30: error: expected ')' before 'message' MTKException(std::string message); ^ MTKException.h:30:18: error: expected unqualified-id before 'const' MTKException(const MTKException& orig); ^ MTKException.h:30:18: error: expected ')' before 'const' MTKException.h:31:35: error: declaration of '~MTKpp::MTKException' as non-member virtual ~MTKException() throw(); ^ MTKException.h:33:1: error: expected unqualified-id before 'protected' protected: ^ MTKException.h:37:1: error: expected declaration before '}' token } // MTKpp namespace ^ make[3]: *** [MTKException.lo] Error 1 make[3]: Leaving directory `/usr/local/amber14/AmberTools/src/mtkpp/src/Diagnostics' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/amber14/AmberTools/src/mtkpp/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/amber14/AmberTools/src/mtkpp' make: *** [all] Error 2