Take a look at the general notes on installation before continuing with installing the DIG_Libs package.


Contents:
  1. Downloading Source Code
  2. Unpacking Source Code
  3. Building and Installing
  4. Setting Environmental Variables


  1. Downloading Source Code:

    Click on any of the following link(s) to download a tarball of the DIG_Libs source code:


       (This is the latest versions currently available)


  2. Unpacking Source Code:

    Once you've downloaded the DIG_Libs tarball, you need to unpack the source code from that tarball and then cd into that newly unpacked directory. Visit the general installation page to see the note regarding unpacking source code.



  3. Building and Installing:

    Once you've downloaded, unpacked, and moved into the DIG_Libs directory, you are ready to build and install the library. Building the DIG_Libs library consists of invoking a configure script, followed by invoking make. Installation consists of invoking make install. Examples are given below. First, though, we list a few notes regarding isntallation location and library dependencies, and what the user must specify when invoking the configure script.

    The default installation location for the DIG_Libs library is /usr/local/. (i.e. Shared object files will be placed in /usr/local/lib/, and header files will be placed in /usr/local/include/.) Root permission is required in order to install in this directory. A local (or any other non-default) installation is also possible by specifying the --prefix option to configure (see below).

    Due to the DIG_Libs library package's dependency on the xerces-c library, the user must specify the installation location of the xerces-c library by setting the XERCES_DIR environmental variable when invoking the configure script (see below). For example, if the xerces-c shared object files are located in /usr/lib/ and its header files are located in /usr/include/, then the user would set the XERCES_DIR to /usr/

    As an example, the following instructions assume xerces-c to be installed in /usr/ and can be used to build and install DIG_Libs in /usr/local/:
    $ ./configure XERCES_DIR=/usr/
    $ make
    $ su
    $ make install

    As another example, the following instructions assume xerces-c to be installed in /usr/ and can be used to build and install DIG_Libs in the non-default installation location /home/jdoe/mylocaldir/:
    $ ./configure XERCES_DIR=/usr/ --prefix=/home/jdoe/mylocaldir/
    $ make
    $ make install



  4. Setting Environmental Variables:

    See the note regarding setting environmental variables  on the general installation page