Prerequisits
============

Before trying to compile the NorduGrid Toolkit make sure you have installed the
following software packages:

    o gnu make
    o C++ compiler and library
    o Grid Packaging Toolkit (GPT)
    o Globus Toolkit

The following packages are optional but required to compile all the components.

    o MySQL client libraries
    o libxml2
    o gSOAP

Basic Installation
==================

The build is using the GNU autotools. This means that a standard installation
can be made with:

  ./configure
  make
  make install

The configure script accepts the usual options with the addition of:

  --enable-experimental                  Enable experimental code
  --enable-rpath-hack                    Do not rpath Globus libraries in binaries
  --enable-docs                          Build the documentation
  --with-monitor-prefix=<PATH>           Specify the location of the Grid Monitor WWW scripts
  --with-monitor-local-prefix=<PATH>     Specify the relative location of the Grid Monitor WWW scripts
  --with-gsoap-location=<PATH>           Specify the gSOAP installation path
  --with-mysql-location=<PATH>           Specify the MySQL installation path
  --with-xml-config=<PATH>               Specify the path to libxml configuration utility
  --with-nordugrid-location=<PATH>       Specify the nordugrid installation path
  --with-globus-location=<PATH>          Specify the globus installation path
  --with-gpt-location=<PATH>             Specify the gpt installation path
  --with-globus-makefile-header          Use globus-makefile-header to generate makefile stubs
  --with-flavor=<flavor>                 Specify the globus build flavor or without-flavor
                                         for a flavor independent

Note that using --with-nordugrid-location=/opt/nordugrid switch will install
the software using the /opt/nordugrid prefix _and_ place the software in
subdirectories without the package name:

   /opt/nordugrid/bin
   /opt/nordugrid/lib 
   /opt/nordugrid/libexec
   ..

For a "standard" install the --prefix=/usr/local will place the software in
package subdirectories:

   /usr/local/bin
   /usr/local/lib/nordugrid 
   /usr/local/libexec/nordugrid 
   ..


