Hi,

This is a Boost version incompatibility, which has been solved in some recent commit.
You can:
1. Use Boost 1.58
2. Use the latest ALPS version by checking out the main repository:
svn co https://alps.comp-phys.org/svn/alps1/trunk/alps

I suggest the second option.


Best regards,
Michele

--
ETH Zurich
Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland


+41 44 633 78 56 phone
+41 44 633 11 15 fax 





On Feb 18, 2016, at 1:53 PM, Wang Riping <wangriping@outlook.com> wrote:

Dear Developers,

I am going to install ALPS (alps-2.2.b4).

I have an error during "make". 
Could any one help me?


[riping@fermi alps-2.2.b4.build]$ make
[  0%] Building CXX object src/alps/CMakeFiles/alps.dir/alea/observable.C.o
In file included from /home/riping/software/alps-2.2.b4.src/src/alps/osiris/dump.h:249:0,
                 from /home/riping/software/alps-2.2.b4.src/src/alps/alea/observable.h:64,
                 from /home/riping/software/alps-2.2.b4.src/src/alps/alea/observable.C:31:
/home/riping/software/alps-2.2.b4.src/src/alps/osiris/dumparchive.h:101:37: error: ‘BOOST_PFTO’ has not been declared
     void save_override(const T & t, BOOST_PFTO int)



I use the following cmake command:
 cmake  CMAKE_INSTALL_PREFIX=/home/riping/software/alps   /home/riping/software/alps-2.2.b4.src


The configuration ends normally.
It can find the Boost, and I pasted the related part here.


-- Looking for precompiled Boost libraries (version >= 1.52)
-- Could NOT find Boost
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   timer
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   chrono
--   date_time
--   filesystem
--   iostreams
--   program_options
--   python
--   regex
--   system
--   serialization
--   thread
--   timer
-- Adding Boost dir: /home/riping/software/boost-1.60.0/include


Best regards.
Riping Wang
2016.2.18