GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: FairRoot installation fails on Mac
items: Re: FairRoot installation fails on Mac

FairRoot installation fails on Mac
type: item
description: Hi, I am trying to install FairRoot-v-15.07 on my Mac (Os X El Captain 10.11.1), following the instructions on https://www.r3broot.gsi.de/fairroot-installation The FairSoft-jul15p1 has been successfully installed before, after fixing the problem as explained in another post: https://forum.gsi.de/index.php?t=tree&th=4709&start=0& While executing 'make' command I get the following error: ... Scanning dependencies of target fileSinkBoost [ 69%] Building CXX object example/Tutorial3/CMakeFiles/fileSinkBoost.dir/run/runFileSinkBoost.cxx. o [ 69%] Linking CXX executable ../../bin/fileSinkBoost Undefined symbols for architecture x86_64: "boost::archive::basic_binary_iarchive<boost::archive::binary_iarchive>::load_override(boost::archive::class_name_type&) ", referenced from: boost::archive::detail::common_iarchive<boost::archive::binary_iarchive >::vload(boost::archive::class_name_type&) in runFileSinkBoost.cxx.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/fileSinkBoost] Error 1 make[1]: *** [example/Tutorial3/CMakeFiles/fileSinkBoost.dir/all] Error 2 make: *** [all] Error 2
creator: Valerii
date: 2015-11-05T07:32:21-00:00

Re: FairRoot installation fails on Mac
type: item
description: Hi Valerii, It is recommended to use the latest releases / patches. So, I would suggest to try with following versions, and see if error remains. FairSoft jul15p2 https://github.com/FairRootGroup/FairSoft/releases/tag/jul15p2 (the same patch for Geant4 with Xcode 7 is needed) FairRoot v-15.07a https://github.com/FairRootGroup/FairRoot/releases/tag/v-15.07a Please report back. Cheers, Dima
creator: Dmytro Kresan
date: 2015-11-05T08:17:59-00:00

Re: FairRoot installation fails on Mac
type: item
description: Hi Dima, I have tried with the FairSoft and FairRoot versions which you suggested and I still get exactly the same error. Any ideas? V
creator: Valerii
date: 2015-11-05T14:18:58-00:00

Re: FairRoot installation fails on Mac
type: item
description: Please post here (or attach a file) with the output of configuration (output before the actual building starts) of both FairSoft and FairRoot on your machine. Dima
creator: Dmytro Kresan
date: 2015-11-05T14:29:50-00:00

Re: FairRoot installation fails on Mac
type: item
description: Below, is the configuration output for FairSoft (see FairRoot configuration in the attached file) The build process for the external packages for the FairRoot Project was started at 051115_190310 Use these cached settings: compiler=Clang debug=no optimize=no geant4_download_install_data_automatic=yes geant4_install_data_from_dir=no build_root6=no build_python=no install_sim=yes SIMPATH_INSTALL=/Users/vpanin/Desktop/Soft/R3Bsim/FairSoft/build-jul15p2 platform=macosx Ok [Y/n]: Y *** Compiling the external packages with the Clang compiler *** Building the libraries with optimization ----------------- Install FairSoft --------------- -- The C compiler identification is AppleClang 7.0.0.7000176 -- The CXX compiler identification is AppleClang 7.0.0.7000176 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo lchain/usr/bin/clang -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo lchain/usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo lchain/usr/bin/clang++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo lchain/usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The Fortran compiler identification is GNU 5.0.0 -- Checking whether Fortran compiler has -isysroot -- Checking whether Fortran compiler has -isysroot - yes -- Checking whether Fortran compiler supports OSX deployment target flag -- Checking whether Fortran compiler supports OSX deployment target flag - yes -- Check for working Fortran compiler: /usr/local/bin/gfortran -- Check for working Fortran comp…
creator: Valerii
date: 2015-11-05T14:46:45-00:00

Re: FairRoot installation fails on Mac
type: item
description: In case you use macports. Try to disable it: 1. Comment out setting of $PATH in your .bash_profile 2. Temporary move /opt/local to different location (or rename) Try out homebrew 1. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. brew install openssl 3. export OPENSSL_ROOT_DIR= path to your OpenSSL installation in /usr/local/ 4. Reinstall everything. Should work. Dima
creator: Dmytro Kresan
date: 2015-11-05T14:58:46-00:00