Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!
_Geant4 Version:_11.3.0
_Operating System:_ubuntu
Compiler/Version:
_CMake Version:_3.22.1
Hello Everyone. Hope all of you are fine and doing well. I’m getting the following error during installation of Geant4. Can anyone please help me by telling how can I fix this error. Thanks in advance for your kind help.
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindEXPAT.cmake:65 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/Modules/G4OptionalComponents.cmake:69 (find_package)
cmake/Modules/G4CMakeMain.cmake:59 (include)
CMakeLists.txt:49 (include)
– Configuring incomplete, errors occurred!
$ sudo apt install dnf install expat-devel
[sudo] password for iqbal:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package install
E: Unable to locate package expat-devel
Best Regards with Thanks
Iqbal