Installation of an ILCSOFT release on MacOS X


Trying to build ilcsoft on MacOS X 10.10 (Yosemite)

* Assume to be building locally under:


We shall set this as our ilcsoft_install_prefix (see later). In here we will checkout ilcinstall which will install the base directly under /Users/clicdp/ilcsoft .

Dependencies like Geant4 will be located in places like:


Then, the release will be installed in its own version directory, for example:


* First of all, check out ilcinstall from:

* Will not try to build Mokka or slic (LCDD, GDML, etc) therefore will not try to install MySQL or CondDB


- Homebrew: used to install wget, boost, Doxygen, CMake (this was problematic in building from scratch on 10.10 for version referenced in the config. Used brew install cmake28 which installs a mildly more recent version)

- Qt4 framework from . Use 4 to avoid issues, though Geant4 10 should support Qt5. However, to use Qt5, I think we need to move to a more recent version of CMake (it doesn't have a FindQt5.cmake config file). Note that for some reason, qmake returns the wrong include file, or at least CMake sets up the Qt include path to /usr/include/QtCore . Therefore a workaround is to do: sudo ln -s /Library/Frameworks/QtCore.framework/Headers/ /usr/include/QtCore

- CERNLIB: copy cernlib binaries from /afs/

- Doxygen: brew install doxygen

- Java and Java SDK: used v 1.8 from oracle. For the time being, it seems like the configuration can't pick up the header files automatically, so you'll have to set it manually in release-ilcsoft.cfg (see below).

- x11 (XQuartz)

Changes to configuration:

- in :Change CLHEP version to to avoid having to modify (see )

- in release-base.cfg: comment out installation of Qt and CMake. Also, point to the qmake executable:


- in release-ilcsoft.cfg:

- Comment out use of CMake (will be picked up from system, since installed by brew) - Comment out linking to Qt, CondDBMySQL - Comment out linking to HepPDT, GDML, LCDD, SLIC, SlicPandora - Comment out installation of Mokka and configuration of Mokka installation module - Manually define a variable for Java_path and fill it appropriately. In my case, I had to add the following around line 303 (just before the java check):



Having fulfilled the above requirements and applied the suggested changes, you can proceed with the installation of the base first and the ilcsoft release later.

To install the base, it is advised not to do it under the ilcsoft release tag, but rather on the ilcsoft top area. To do that, edit and set:

append_version_to_install_prefix = False

Then, first check the configuration by doing:

./ilcsoft-install releases/v01-17-07/release-base.cfg

If all is OK, proceed with the installation:

./ilcsoft-install releases/v01-17-07/release-base.cfg -i

Once this is done, change again to append the release version to the top directory:

append_version_to_install_prefix = True

Then, first check the configuration by doing:

./ilcsoft-install releases/v01-17-07/release-ilcsoft.cfg

and finally launch the installation by doing:

./ilcsoft-install releases/v01-17-07/release-ilcsoft.cfg -i

-- NikiforosNikiforou - 2015-06-25

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2015-06-25 - NikiforosNikiforou
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback