Geant4 compiles and runs on MacOS X 10.6. The following is how I did it. Take a look also at Kotoyo Hoshina's Geant4 installation note for more information.
Install gcc and cernlib following the instructions given in the GFORTRAN page and the CERNLIB page, if you haven't. In addition geant4 depends on CLHEP. Install it as
$ su
# apt-get update
# apt-get install clhep
# exit
If you just want to use precompiled binary packages, go directly to Installation subsection.
[1] Compilation Conditions
MacOS X Release 10.6.6[2] Compilation Procedure
standard Mach Kernel (Darwin 10.6.0)
gcc-4.5.1-4osx10.6
Apple's X11 for MacOS X
CERNLIB-2006
clhep-2.1.0.1-10.6hepx1a
First download all of the necessary source files from the GEANT4 site and my private patches: gfortran patch and gcc4.5.1 patch into a directory, <somewhere>.
$ ls <somewhere>
G4ABLA.3.0.tar.gz
G4EMLOW.6.19.tar.gz
G4NDL.3.14.tar.gz
G4NEUTRONXS.1.0.tar.gz
G4PII.1.2.tar.gz
G4PhotonEvaporation.2.1.tar.gz
RadioactiveDecay.3.3.tar.gz
RealSurface.1.0.tar.gz
geant4.9.4.p01.tar.gz
geant4.9.4-gfortran-m32.patch
geant4.9.4-gcc451.patch
Then expand the source tarballs as follows in whatever directory you want
to install GEANT4.
$ tar -zxvf <somewhere>/geant4.9.4.p01.tar.gz
$ cd geant4.9.4.p01
$ patch -p1 -s < <somewhere>/geant4.9.4-gfortran-m32.patch
$ patch -p1 -s < <somewhere>/geant4.9.4-gcc451.patch
$ mkdir data
$ for i in <somewhere>/*.tar.gz; do tar -zxvf $i -C data; done
$ ./Configure -build
....
.... answer questions (default answers should work for most people)
....
.... compilation begins and after a long time it will finish
....
$ cd sources
$ make includes
[3] Test Run
Try exapmles in the "examples" directory.
# apt-get update
# apt-get install geant4
# apt-get clean
# ln -s geant4.9.4.p01 /opt/g4/pro
By default GEANT4 will be installed under /opt/g4. Use
/opt/g4/pro/env.sh to setup environmental variables necessary to run
GEANT4.