O2Physics build error:The program is unable to discover the installed FairRoot

log.txt (25.1 KB)
An error occurs when executing aliBuild build O2Physics with the following main content
– The following OPTIONAL packages have not been found:

  • AliRoot
    For very specific use cases only
  • GLEW
  • OpenCL
  • ROCM
    – The following RECOMMENDED packages have not been found:
  • DDS
    – The following REQUIRED packages have not been found:
  • FairRoot
    CMake Error at /home/xxf/alice/sw/ubuntu2004_x86-64/CMake/v3.28.1-8/share/cmake-3.28/Modules/FeatureSummary.cmake:464 (message):
    feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
    run.
    Call Stack (most recent call first):
    dependencies/O2Dependencies.cmake:155 (feature_summary)
    dependencies/CMakeLists.txt:12 (include)
    CMakeLists.txt:49 (include)
    – Configuring incomplete, errors occurred!
    But I’ve already executed aliBuild build FairRoot and alienv enter FairRoot/latest-o2 can enter the environment:
    Your software installation is at:
    /home/xxf/alice/sw/ubuntu2004_x86-64
    You can use this package by loading the environment:
    alienv enter FairRoot/latest-o2
    I’m asking for your help!