Dear Prof. Troyer,
I wasn't careful enough while typing. Thank you very much for pointing out the error. Problem solved.
Regards, Pradeep.
On 15 June 2015 at 18:12, Matthias Troyer troyer@phys.ethz.ch wrote:
Note that you wrote -D Boost_ROOT:DIR while the instructions say -D Boost_ROOT_DIR:PATH
On Jun 15, 2015, at 2:38 PM, pradeep thakur pskvkthakur@gmail.com wrote:
Dear ALPS-users and developers,
While building ALPS from source "alps-2.1.1-r6176-src-with-boost" on a machine with operating system Xubuntu 12.04.5 LTS, I executed the following step in the build directory:
$ cmake -D Boost_ROOT_DIR:PATH=/path/to/boost/directory /path/to/alps/directory
giving the appropriate paths as follows: $ sudo cmake -D Boost_ROOT:DIR=/home/emmy/alps/alps-2.1.1-r6176-src-with-boost/boost/ /home/emmy/alps/alps-2.1.1-r6176-src-with-boost/alps/
The output was as shown below. The errors are mentioned at the end. I'm unable to complete configuration:
-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Build type: Release -- Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.3 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = /usr/lib/python2.7/config/libpython2.7.so -- PYTHON_EXTRA_LIBS =-lssl -lcrypto -lssl -lcrypto -L/usr/lib -lz -lpthread -ldl -lutil -- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -- ALPS version: 2.1.1 -- Looking for rpc/rpc.h -- Looking for rpc/rpc.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/systeminfo.h -- Looking for sys/systeminfo.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include valarray -- Looking for C++ include valarray - found -- Looking for precompiled Boost libraries (version >= 1.47) CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:426 (message): ERROR: Boost_ROOT is not the correct spelling. The proper spelling is BOOST_ROOT. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindBoost.cmake:572 (_Boost_CHECK_SPELLING) config/FindBoostForALPS.cmake:30 (find_package) CMakeLists.txt:248 (find_package)
-- Configuring incomplete, errors occurred!
I changed the spelling in the command, but to no avail. Please do me a kindness by helping me here.
Regards, Pradeep