Прошу прошения, что пишу на английском, не добавил русскую раскладку на клавиатуре, а текст скопировал из переписки
But expat lies in geant directory (source/external/expat)
This is
Guide, they wrote that
if you didn't have EXPAT set flag.
GEANT4_USE_SYSTEM_EXPAT (DEFAULT : ON)
If set to ON, build Geant4 with an external install of Expat. Whilst Expat is installed on the vast majority of systems, it may be missing in certain instances. In these cases, simply switch this option to OFF and Geant4 will build and use its internal version of Expat.
My command:
cmake -DCMAKE_INSTALL_PREFIX=/home/emil/physics/geant4-v10.4.3/geant4-v10.4.3-install /home/emil/physics/geant4-v10.4.3/geant4-v10.4.3/ -DGEANT_INSTALL_DATA=ON -DGEANT4_BUILD_CXXSTD=17 GEANT4_USE_SYSTEM_EXPAT=OFF
I try install this library but error saved.
ErrorCMake Error at /usr/share/cmake-3.28/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.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.28/Modules/FindEXPAT.cmake:114 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/Modules/Geant4OptionalComponents.cmake:117 (find_package)
cmake/Modules/G4CMakeMain.cmake:59 (include)
CMakeLists.txt:56 (include)
Upd:
Wow, I write:
cmake -DCMAKE_INSTALL_PREFIX=/home/emil/physics/geant4-v10.4.3/geant4-v10.4.3-install /home/emil/physics/geant4-v10.4.3/geant4-v10.4.3/ -GEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_CXXSTD=17 -GEANT4_USE_SYSTEM_EXPAT=OFF
And new error.
CMake Error: Could not create named generator EANT4_INSTALL_DATA=ON
Upd2:
I write:
cmake -DCMAKE_INSTALL_PREFIX=/home/emil/physics/geant4-v10.4.3/geant4-v10.4.3-install -DGEANT_INSTALL_DATA=ON -DGEANT4_BUILD_CXXSTD=17 GEANT4_USE_SYSTEM_EXPAT=OFF /home/emil/physics/geant4-v10.4.3/geant4-v10.4.3/
my error be back
Next questions: How install VPN to linux
P.S. I try install library expat (not source files). But:
ErrorReading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
libexpat1-dev
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 998 kB of archives.
After this operation, 2,297 kB of additional disk space will be used.
Ign:1 http://ru.archive.ubuntu.com/ubuntu noble-updates/main amd64 libexpat1-dev amd64 2.6.1-2ubuntu0.2
Err:1 http://security.ubuntu.com/ubuntu noble-updates/main amd64 libexpat1-dev amd64 2.6.1-2ubuntu0.2
404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1-dev_2.6.1-2ubuntu0.2_amd64.deb 404 Not Found [IP: 213.180.204.183 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?