Hi everyone,
I'm having problems with the compilation of boost libraries in an Ubuntu 15.10 64bits machine. Specifically, it fails when it tries to compile the boost_thread library
./build.sh -mpi true
The default behaviour appears to be to try to build the boost libraries, which are located in revbayes/boost_1_55_0/libs. I see that the regenerate.sh script (launched by build.sh) sets the BOOST_ROOT variable to ../../boost_1_55_0, which seems to be right.
Yet, the compilation script fails at the boost_thread library, which it fails to find:
CMake Error at /usr/share/cmake-3.2/Modules/FindBoost.cmake:1202 (message):
Unable to find the requested Boost libraries.
Boost include path: /home/xavi/Programes/revbayes_10feb16/boost_1_55_0
Could not find the following static Boost libraries:
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:44 (find_package)
Boost_INCLUDE_DIRS: /home/xavi/Programes/revbayes_10feb16/boost_1_55_0
Boost_LIBRARY_DIRS: /home/xavi/Programes/revbayes_10feb16/boost_1_55_0/stage/lib
-- Configuring incomplete, errors occurred!
See also "/home/xavi/Programes/revbayes_10feb16/projects/cmake/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
The weird thing is that there is a thread library in the revbayes/boost_1_55_0/libs directory. Is this the folder where the script should be pointing at?
I've noted that, in the error above, there is no Boost_LIBRARIES variable set (in red). Could this be the cause of the error? Yet, when I set this variable to revbayes_10feb16/boost_1_55_0/libs the error persists.
Does anyone have any clue on what could be going wrong?
In case it's useful, I'm using gcc v5.2.1 and I already have installed the libboost-all-dev package (v1.58) from the repositories.
Thanks a lot in advance.
Best,
Xavi