I couldn't install it under Ubuntu Vivid 15.04 using the source from github. Thanks in advance for your help.
~ ᐅ cmake --version / cmake version 3.3.2
I added the path to the equivalent to profile in my machine ~/.zshrc
export DYLD_LIBRARY_PATH=/home/andrelo/revbayes-master/boost_1_55_0/stage/lib:$DYLD_LIBRARY_PATH
export PATH=/home/andrelo/revbayes-master/projects/cmake:$PATH
I used the ./build.sh script. After the installation failed I tried the regenerate script.
I tried to build again and got
~/revbayes-master/projects/cmake (master ✘)✭ ᐅ ./build.sh
/home/andrelo/revbayes-master/projects/cmake
Building boost libraries
you can turn this of with argument "-boost false"
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Unicode/ICU support for Boost.Regex?... not found.
Generating Boost.Build configuration in project-config.jam...
Bootstrapping is done. To build, run:
./b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
./b2 --help
- Getting started guide:
- Boost.Build documentation:
link.jam: No such file or directory
Building the Boost C++ Libraries.
Performing configuration checks
- gcc visibility : yes (cached)
- long double support : yes (cached)
- has_icu builds : yes (cached)
- lockfree boost::atomic_flag : yes (cached)
Component configuration:
- atomic : not building
- chrono : not building
- context : not building
- coroutine : not building
- date_time : building
- exception : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- iostreams : not building
- locale : not building
- log : not building
- math : building
- mpi : not building
- program_options : building
- python : not building
- random : not building
- regex : building
- serialization : building
- signals : building
- system : not building
- test : not building
- thread : building
- timer : not building
- wave : not building
...patience...
...patience...
...patience...
...found 3670 targets...
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/home/andrelo/revbayes-master/boost_1_55_0
The following directory should be added to linker library paths:
/home/andrelo/revbayes-master/boost_1_55_0/stage/lib
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- regex
-- program_options
-- system
-- thread
-- signals
-- date_time
-- serialization
Boost information:
Boost_INCLUDE_DIRS: /home/andrelo/revbayes-master/boost_1_55_0
Boost_LIBRARIES: /home/andrelo/revbayes-master/boost_1_55_0/stage/lib/libboost_regex.a;/home/andrelo/revbayes-master/boost_1_55_0/stage/lib/libboost_program_options.a;/home/andrelo/revbayes-master/boost_1_55_0/stage/lib/libboost_system.a;/home/andrelo/revbayes-master/boost_1_55_0/stage/lib/libboost_thread.a;/home/andrelo/revbayes-master/boost_1_55_0/stage/lib/libboost_signals.a;/home/andrelo/revbayes-master/boost_1_55_0/stage/lib/libboost_date_time.a;/home/andrelo/revbayes-master/boost_1_55_0/stage/lib/libboost_serialization.a
Boost_LIBRARY_DIRS: /home/andrelo/revbayes-master/boost_1_55_0/stage/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /home/andrelo/revbayes-master/projects/cmake
[ 2%] Built target libs
[ 50%] Built target rb-parser
[ 50%] Building CXX object core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/utils/RbFileManager.cpp.o
[ 50%] Building CXX object core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/utils/RbException.cpp.o
[ 51%] Building CXX object core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/utils/MpiUtilities.cpp.o
[ 51%] Building CXX object core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/monitors/ExtendedNewickTreeMonitor.cpp.o
[ 51%] Building CXX object core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/monitors/PosteriorPredictiveMonitor.cpp.o
/home/andrelo/revbayes-master/src/core/utils/RbFileManager.cpp: In member function ‘std::string RevBayesCore::RbFileManager::getFullFilePath() const’:
/home/andrelo/revbayes-master/src/core/utils/RbFileManager.cpp:284:77: error: ‘strncmp’ was not declared in this scope
if(strncmp(filePath.c_str(), pathSeparator.c_str(), pathSeparator.size()) != 0)
^
[ 51%] Building CXX object core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/monitors/ScreenMonitor.cpp.o
core/CMakeFiles/rb-core.dir/build.make:8222: recipe for target 'core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/utils/RbFileManager.cpp.o' failed
make[2]: *** [core/CMakeFiles/rb-core.dir/home/andrelo/revbayes-master/src/core/utils/RbFileManager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/andrelo/revbayes-master/src/core/monitors/ScreenMonitor.cpp: In constructor ‘RevBayesCore::ScreenMonitor::ScreenMonitor(RevBayesCore::DagNode*, int, bool, bool, bool)’:
/home/andrelo/revbayes-master/src/core/monitors/ScreenMonitor.cpp:47:19: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
enabled( true )
^
/home/andrelo/revbayes-master/src/core/monitors/ScreenMonitor.cpp: In constructor ‘RevBayesCore::ScreenMonitor::ScreenMonitor(const std::vector<RevBayesCore::DagNode*>&, int, bool, bool, bool)’:
/home/andrelo/revbayes-master/src/core/monitors/ScreenMonitor.cpp:67:19: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
enabled( true )
^
CMakeFiles/Makefile2:179: recipe for target 'core/CMakeFiles/rb-core.dir/all' failed
make[1]: *** [core/CMakeFiles/rb-core.dir/all] Error 2
Makefile:83: recipe for target 'all' failed