I try to again build geant4.11.3.2. I got this during cmake.
‘‘‘
Checking C++ feature CXXSTDLIB_FILESYSTEM_NATIVE - Success
CMake Error at cmake/Modules/G4OptionalComponents.cmake:42 (find_package):
Could not find a package configuration file provided by “CLHEP” (requested
version 2.4.6.0) with any of the following names:
CLHEPConfig.cmake
clhep-config.cmake
Add the installation prefix of “CLHEP” to CMAKE_PREFIX_PATH or set
“CLHEP_DIR” to a directory containing one of the above files. If “CLHEP”
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
cmake/Modules/G4CMakeMain.cmake:59 (include)
CMakeLists.txt:49 (include)
Configuring incomplete, errors occurred!
Configure failed with the following output
CMake Version 4.2.1
Press [e] to exit screen
‘‘‘
‘‘‘
CLHEP_DIR CLHEP_DIR-NOTFOUND
CMAKE_BUILD_TYPE TestRelease
CMAKE_INSTALL_PREFIX /opt/geant4/11.3.2
CMAKE_OSX_ARCHITECTURES
CMAKE_OSX_DEPLOYMENT_TARGET
CMAKE_OSX_SYSROOT
GEANT4_BUILD_MULTITHREADED ON
GEANT4_INSTALL_DATADIR
GEANT4_USE_G3TOG4 OFF
GEANT4_USE_GDML OFF
GEANT4_USE_INVENTOR OFF
GEANT4_USE_INVENTOR_QT OFF
GEANT4_USE_OPENGL_X11 ON
GEANT4_USE_RAYTRACER_X11 OFF
GEANT4_USE_SYSTEM_CLHEP ON
GEANT4_USE_SYSTEM_EXPAT ON
GEANT4_USE_SYSTEM_ZLIB OFF
CLHEP_DIR: The directory containing a CMake configuration file for CLHEP.
Keys: [enter] Edit an entry [d] Delete an entry CMake Version 4.2.1
[l] Show log output [c] Configure
[h] Help [q] Quit without generating
[t] Toggle advanced mode (currently off)
‘‘‘
‘‘‘
sarahabdelaziz@Sarahs-MacBook-Pro ~ % ls
Desktop Library Pictures geant4
Documents Movies Public try1.C
Downloads Music data1.txt
sarahabdelaziz@Sarahs-MacBook-Pro ~ % cd geant4
sarahabdelaziz@Sarahs-MacBook-Pro geant4 % ls
build-11.3.2 geant4-v11.3.2
sarahabdelaziz@Sarahs-MacBook-Pro geant4 % cd build-11.3.2
sarahabdelaziz@Sarahs-MacBook-Pro build-11.3.2 % ccmake -DCMAKE_INSTALL_PREFIX=/opt/geant4/11.3.2 -DGEANT4_USE_QT=ON -DGEANT4_USE_QT_QT6=ON -DGEANT4_INSTALL_DATA=ON ../geant4-v11.3.2
sarahabdelaziz@Sarahs-MacBook-Pro build-11.3.2 %
‘‘‘
What should I do? I press ON for clhep during configuration and this is what I get.
Also, should I write anything for the enviroment because due to delete geant4.11.3.0, I do not found ./zshrc file. What should I do, please? Because it is the third time to build this version and failed when I write root for microyz module but it is effected so use brew install root and then write error for mismatch clhep so delete it again.