Package Details: geant4 10.7.1-1

Git Clone URL: (read-only, click to copy)
Package Base: geant4
Description: A simulation toolkit for particle physics interactions.
Upstream URL:
Licenses: custom:
Conflicts: geant4_devel
Submitter: Eothred
Maintainer: donpicoro
Last Packager: donpicoro
Votes: 14
Popularity: 1.73
First Submitted: 2010-04-08 08:54
Last Updated: 2021-02-05 14:58

Dependencies (21)

Sources (2)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

donpicoro commented on 2021-01-31 21:43

OK, this is I how I deal with this:

  • thanks for pointing out that I was not properly handling geant4make.[c]sh in the same way as geant4.[c]sh
  • geant4make.[c]sh is for in-source compilation (as opposed to geant4.[c]sh) that has been discourage since long time ago. If you clone and compile this package again both compilation ways get their enviromental variables removed.
  • the variables are now set automatically for you in /etc/profile.d/ by every data package. Either source the corresponding .[c]sh file once you install a data package or open a new terminal and it should happen automatically for you.
  • since now the geant4make.[c]sh script does not set environmental variables once you execute it, the values set by the /etc/profile.d/ should stay and your compilation should work.

I hope this works to your satisfaction. I want to keep it this way as moving file into the geant4 file tree is not recommended as many times the geant4 version changes but not the datasets.



gvannoye commented on 2021-01-19 17:41

When installing the geant4-* optionnal dependencies and evaluating /usr/share/Geant4-10.7.0/geant4make/, the definition of ressource file paths shell variables (G4NEUTRONHPDATA, G4LEDATA, …) is not correct.

I would suggest either copying the content of the /usr/share/geant4-*data/ folders to /usr/share/Geant${pkgver}/data/ or modifying the geant4make files (I don't know which other files would need to be changed, so the first option might be better).

donpicoro commented on 2020-04-23 11:47

Ok @flagarde I will release that as a default configuration with the next package update.

Thank you for the info.

flagarde commented on 2020-04-23 06:42

Can't build DD4hep with geant4.

changing to -DGEANT4_BUILD_TLS_MODEL=global-dynamic solves the issue.

donpicoro commented on 2019-12-11 11:16

I just added the openmotif dependency without bumping the version number. Just try again and let me know whether it works.

(You need to pull the source code again)

lonaowna commented on 2019-12-10 21:34

Can't build 10.6.0-1:

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):

Installing openmotif fixes it.

TheFlyingPengwyn commented on 2019-07-15 08:43

As the SoXt dependency is broken, you can work around this by disabling the only soxt dependency of geant4: the Inventor GUI.

Remove the line:


and remove soxt from the dependencies.

donpicoro commented on 2019-04-30 07:58

@jpeter You are right. I'm having that issue myself. I tried to find a way around it but until SoXt get's fixed I'm afraid the only choice is to install geant4 with an older version of SoXt.

The issue is actually not with SoXt itself but with its dependency Coin. I noticed that on the Coin development tree it is fixed. But not on the versioned released as the AUR points to. Have you tried with coin-hg? I believe coin-hg -> SoXt -> geant4 is the way to go installing this.

Let me know how it works.

[Edit, it should work. coin-hg already uses cmake instead of autotools.]

jpeter commented on 2019-04-30 04:57

geant4 cannot be installed because soxt is broken.

donpicoro commented on 2019-03-10 21:23


the first warning is normal. There is nothing to worry about. The script lives at /etc/profile.d/ and it is executed automatically for you at login for a terminal . If you want to force it after you just compiled geant4 just do:

source /etc/profile.d/

or simply log out and log in again. Let me know if this helps