GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Fairsoft_mar15 on OSX 10.11.4 issues (root compilation fails)
Re: Fairsoft_mar15 on OSX 10.11.4 issues [message #19274 is a reply to message #19229] Tue, 24 May 2016 17:07 Go to previous messageGo to previous message
Walter Ikegami Andersson is currently offline  Walter Ikegami Andersson
Messages: 19
Registered: November 2014
occasional visitor
From: *eduroam.uu.se
Hello Mohammad,

changing to ROOT6, along with you proposed fix solved the problem.
I successfully installed fairsoft_nov15p5 on my computer.

Now, I run into problems when installing FairRoot 15.11b. First, I get this error when calling CMake:
-- The compiler during the compilation of FairSoft is different from the current one.
CMake Error at cmake/modules/CheckCompiler.cmake:64 (Message):
  This is seen as an error.  If you know that the setting is correct you can
  silence the error by using the CMake flag -DUSE_DIFFERENT_COMPILER=TRUE
Call Stack (most recent call first):
  CMakeLists.txt:55 (Check_Compiler)


-- Configuring incomplete, errors occurred!


When I use the suggested CMake flag, the configuration completes. However, when compiling FairRoot with make, I get this error:
[ 30%] Built target Base
[ 30%] Linking CXX shared library ../../lib/libfairmq_logger.dylib
ld: file not found: @rpath/libboost_chrono.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libfairmq_logger.15.11.0.dylib] Error 1
make[1]: *** [fairmq/logger/CMakeFiles/fairmq_logger.dir/all] Error 2
make: *** [all] Error 2


Is there a quick fix to this problem? I'll also post it on the FairRoot forum.

Thank you in advance,
Walter
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems in a fresh installation - pythia6
Next Topic: Unpack boost package
Goto Forum:
  


Current Time: Sat Nov 27 06:17:57 CET 2021

Total time taken to generate the page: 0.02379 seconds