I had about the same and the solution was given by Synge in mail from May 1st:

Message: 1
Date: Thu, 30 Apr 2015 19:53:12 +0900
From: Synge Todo <wistaria@comp-phys.org>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] building alps from source
Message-ID: <B8D338DA-8CC7-4C6A-9E25-C19CACE3C427@comp-phys.org>
Content-Type: text/plain; charset=utf-8

This looks similar as the problem reported at https://svn.boost.org/trac/boost/ticket/8973 .
You can solve the problem by using a newer version of Boost, or apply the patch provided at https://svn.boost.org/trac/boost/changeset/84950 to the Boost source code.

Best,
Synge


2015-07-27 12:00 GMT+02:00 <comp-phys-alps-users-request@lists.phys.ethz.ch>:
Send Comp-phys-alps-users mailing list submissions to
        comp-phys-alps-users@lists.phys.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
or, via email, send a message with subject or body 'help' to
        comp-phys-alps-users-request@lists.phys.ethz.ch

You can reach the person managing the list at
        comp-phys-alps-users-owner@lists.phys.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Comp-phys-alps-users digest..."


Today's Topics:

   1. make failed (Inzo Babaria)


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Jul 2015 11:31:42 +0530
From: Inzo Babaria <inzo.babaria@gmail.com>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: [ALPS-users] make failed
Message-ID:
        <CACz9evC+dK46UysXmVSo1VLGwkxt1BFFa2p-CwQuCaETWN3dSA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all users and developers,

I was building and installing ALPS in my loptop. I have done each process
step by step. In the last step I created a build Folder and I unziped
alps-2.2.b3-r7462-src-with-boost. therefore I went to Build folder

cd build

and wrote the bellow:

 cmake -D
Boost_ROOT_DIR:PATH=/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/alps

After it finished, I typed make

acerv3-571g@acerv3571g-Aspire-V3-571G:~/Downloads/build$ make

it was going ok but I faced to these error message:

[ 21%] Building CXX object
src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/request.cpp.o
[ 21%] Building CXX object
src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/text_skeleton_oarchive.cpp.o
[ 21%] Building CXX object
src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/mpi/src/timer.cpp.o
[ 21%] Building CXX object
src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/future.cpp.o
[ 21%] Building CXX object
src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o
In file included from
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic.hpp:12:0,
                 from
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/pthread/once_atomic.hpp:20,
                 from
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/thread/once.hpp:20,
                 from
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/./once_atomic.cpp:9,
                 from
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp:8:
/home/acerv3-571g/Downloads/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;
                ^
/home/acerv3-571g/Downloads/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;
                         ^
/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/boost/atomic/atomic.hpp:202:43:
error: invalid type in declaration before ?;? token
 typedef atomic<uintptr_t> atomic_uintptr_t;
                                           ^
src/boost/CMakeFiles/boost.dir/build.make:3159: recipe for target
'src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o'
failed
make[2]: ***
[src/boost/CMakeFiles/boost.dir/home/acerv3-571g/Downloads/alps-2.2.b3-r7462-src-with-boost/boost/libs/thread/src/pthread/once.cpp.o]
Error 1
CMakeFiles/Makefile2:966: recipe for target
'src/boost/CMakeFiles/boost.dir/all' failed
make[1]: *** [src/boost/CMakeFiles/boost.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
acerv3-571g@acerv3571g-Aspire-V3-571G:~/Downloads/build$

I don't know what is the problem and how I can remove that?! Thanks so much
to any body for getting help and guidance.

Inzo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20150727/37b60cd3/attachment-0001.html>

End of Comp-phys-alps-users Digest, Vol 112, Issue 12
*****************************************************



--
Tadeusz Wasiutyński