Skip to content

Problem compiling MPD with alibuild

I am getting following error

/cvmfs/hybrilit.jinr.ru/sw/BUILD/010a6314cb4b2bdd8e6beb19dfddbaeb9175f584/MPD
++ cmake /cvmfs/hybrilit.jinr.ru/sw/SOURCES/MPD/v18.08.13-hlit_FAIRROOT/v18.08.13-hlit -DMACOSX_RPATH=OFF -DCMAKE_CXX_FLAGS=-std=c++11 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/cvmfs/hybrilit.jinr.ru/sw/INSTALLROOT/010a6314cb4b2bdd8e6beb19dfddbaeb9175f584/slc7_x86-64/MPD/v18.08.13-hlit_FAIRROOT-1 -DALIBUILD=ON
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- Check for working C compiler: /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/cc
-- Check for working C compiler: /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/cc -- 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: /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/c++
-- Check for working CXX compiler: /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/c++ -- 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 6.2.0
-- Check for working Fortran compiler: /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/gfortran
-- Check for working Fortran compiler: /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/gfortran supports Fortran 90
-- Checking whether /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/GCC-Toolchain/v6.2.0-alice1-1/bin/gfortran supports Fortran 90 -- yes
CMake Warning at CMakeLists.txt:55 (find_package):
  By not providing "FindFairRoot.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "FairRoot",
  but CMake did not find one.

  Could not find a package configuration file provided by "FairRoot" with any
  of the following names:

    FairRootConfig.cmake
    fairroot-config.cmake

  Add the installation prefix of "FairRoot" to CMAKE_PREFIX_PATH or set
  "FairRoot_DIR" to a directory containing one of the above files.  If
  "FairRoot" provides a separate development package or SDK, be sure it has
  been installed.


CMake Error at CMakeLists.txt:58 (include):
  include could not find load file:

    FairMacros


CMake Error at CMakeLists.txt:59 (include):
  include could not find load file:

    WriteConfigFile


CMake Error at CMakeLists.txt:61 (include):
  include could not find load file:

    CheckCompiler


CMake Error at CMakeLists.txt:62 (include):
  include could not find load file:

    CheckFortran


CMake Error at CMakeLists.txt:71 (Check_Compiler):
  Unknown CMake command "Check_Compiler".


-- Configuring incomplete, errors occurred!
See also "/cvmfs/hybrilit.jinr.ru/sw/BUILD/010a6314cb4b2bdd8e6beb19dfddbaeb9175f584/MPD/CMakeFiles/CMakeOutput.log".
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information