Message: Re: include directory is missing a version suffix Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: include directory is missing a version suffix 

Forum: Installation and Configuration
Re: Feedback include directory is missing a version suffix
Date: 22 Apr, 2014
From: Ben Morgan <Ben Morgan>

Apologies for the empty message, shouldn't type on the move!

Geant4 tries to follow, as far as possible, the POSIX file system hierarchy.
Where version numbers are used, they are there to help tools like Cmake locate correct versions - and to provide some level of backward compatibility with the old gnu make system.

The CMake build system for Geant4 itself provides the flexibility to change installation paths individually. 
So if you want to add versioning information, you can. See the section on cmake options/variables in the installation guide.

In general, we recommend that installations of multiple versions be installed into unique root directories.
For example 


Or you can use /opt.


> On 15 Apr 2014, at 22:47, "" <> wrote:
> *** Discussion title: Installation and Configuration
> Hi,
> I think the include directory is missing a version suffix. All other
> directories seem to get a version suffix appended by default, thus
> allowing one to install different versions in the same install directory
> (e.g. the default /usr/local), but the default include directory is
> <prefix>/include/Geant4 without any version. So to install multiple
> versions of GEANT w/o overwriting the include-files one needs to
> manually specify different include-directories which than all have
> another Geant4 directory in them cointaining the actual header files. Is
> there any good reason for this? Cheers,
> Vinzenz
> -------------------------------------------------------------
> Visit this GEANT4 at message (to reply or unsubscribe) at: 

 Add Message Add Message
to: "Re: include directory is missing a version suffix"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]