Dear alps users,

    I am currently installing alps-2.2.b3-r7462-src-with-boost in Linux, 4.4.0-47-generic #68-Ubuntu, x86_64, GNU/Linux. I first followed the instruction and ran the command:


cmake -D Boost_ROOT_DIR=/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost -DCMAKE_INSTALL_PREFIX=/opt/alps-2.2 /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/alps

It ran without any problem.
After that when I ran make i got some error for installation:

/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:16: error: ‘uintptr_t’ was not declared in this scope
 typedef atomic<uintptr_t> atomic_uintptr_t;
                ^
/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
 typedef atomic<uintptr_t> atomic_uintptr_t;
                         ^
In file included from /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/once.hpp:20:0,
                 from /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/./once_atomic.cpp:9,
                 from /opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp:8:
/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:120:37: warning: variadic templates only available with -std=c++11 or -std=gnu++11
   template<typename Function, class ...ArgTypes>
                                     ^
/opt/alps-2.2/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:121:108: warning: variadic templates only available with -std=c++11 or -std=gnu++11
   inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args)
                                                                                                            ^
src/boost/CMakeFiles/boost.dir/build.make:3302: recipe for target 'src/boost/CMakeFiles/boost.dir/__/__/boost/libs/thread/src/pthread/once.cpp.o' failed
make[2]: *** [src/boost/CMakeFiles/boost.dir/__/__/boost/libs/thread/src/pthread/once.cpp.o] Error 1
CMakeFiles/Makefile2:1081: recipe for target 'src/boost/CMakeFiles/boost.dir/all' failed
make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Please help me to install this code in Ubuntu in my pc. 

Thanking you, 

Dr. Santu Baidya
Seoul National University
South korea