README 2.19 KB
Newer Older
1
The simplest way to build/install the GammaWare package is:
Generic for IPNL's avatar
Generic for IPNL committed
2

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
  1. Type `./configure'
     (or `sh ./configure' to prevent `csh' from trying to execute `configure' itself)
    
  2. Type `make' to build the package.

  3. Type `make install' to install the programs, libraries, data files and documentation.
     By default, everything is installed in this directory. It is recommended to install 
     the package in another directory. To do this see the Configuration section in this file. 

  4. You should remove the program binaries and object files from the
     source code directory by typing `make clean'.  

Configuration
=============

The configure script should be run first to configure the buiding environment.
Generic for IPNL's avatar
Generic for IPNL committed
19 20 21

Usage: configure [OPTION]... [VAR=VALUE]...

22 23 24 25 26 27 28 29 30 31 32 33
- To change the directory under which all the files will be installed
	configure --prefix=/where/you/want/to/install/the/package
  or, using environment variables
	configure --prefix=$HOME                       [Default is prefix=$PWD]

- Directories can also be modified individually
  --libdir=DIR       object code libraries             [Default: $PWD/lib]
  --bindir=DIR       user executables                  [Default: $PWD/bin]
  --includedir=DIR   C/C++ header files                [Default: $PWD/include]
  --datadir=DIR      architecture-independent files    [Default: $PWD/share]    

To get a detail list of what is installed, read the INSTALL file.
Generic for IPNL's avatar
Generic for IPNL committed
34

35 36
To build the ganil library,
   --enable-ganil          enable to build the GANIL library
Generic for IPNL's avatar
Generic for IPNL committed
37

38 39 40 41 42 43 44 45 46 47 48
Compilers and Options
=====================

   The GammaWare package uses the ROOT facility to set compilers and Options.
Any makefile starts with an include of the file Makefile.root which is
under the config directory.
So, the compilation will be not be affected if you modify CC, CFLAGS ... etc 
before running configure. If you need to modify anything, check out your platform 
system as known by ROOT with:
	 root-config --arch
and modify the corresponding part in the config/Makefile.root file.
Generic for IPNL's avatar
Generic for IPNL committed
49
 
50 51
The general Makefile uses the MAKE variables to build individual packages.
It can be changed with, for instance with: 
52 53 54
      configure 'MAKE=gmake'     

Any problems/suggestions, please contact stezow@ipnl.in2p3.fr
Generic for IPNL's avatar
Generic for IPNL committed
55