This wiki is obsolete, see the NorduGrid web pages for up to date information.


From NorduGrid
Jump to navigationJump to search


This text is based on the INSTALL.Solaris file and contains instructions and workarounds to compile the code on Sparc Solaris platform. The compilation capability have been tested on Sparc Solaris 9 operating system.

Installing third party dependency packages:

It is recommended to install the following dependencies from the sources highlighted:

 Java_SDK-1.6:; installed from package
 GNU_tar-1.2:; installed from package
 ant-1.7.1:; built from source
 autoconf-2.60:; installed from package
 automake-1.10:; installed from package
 gcc-3.4.6:; installed from package
 gettext-0.14.1:; installed from package
 glib-2.14.1:; built from source
 glibmm-2.14.1:; built from source
 junit-4.4:; built from source
 libgcc-3.4.6:; installed from package
 libiconv-1.11:; installed from package
 libsigc++-2.0.17:; installed from package
 libtool-1.5.24:; installed from package
 libxml2-2.6.31:; installed from package
 libxslt-1.1.22:; installed from package
 m4-1.4.7:; installed from package
 neon-0.25.5:; installed from package
 openssl-0.9.8e:; installed from package
 swig-1.3.36:; installed from package
 GNU time 1.7:; built from source
 XML-Simple:; built from source
 Storable-1.0.14:; built from source
 gsoap-2.7.10:; installed from package

Installing Berkeley DB:

Source code:

Performing configuration and installation:

 cd build_unix/
 ../dist/configure --enable-cxx  --prefix=/usr/local/db47
 gmake install

Installing xmlsec1:

Source code:

Performing configuration and installation:

 ./configure --prefix=/usr/local/xmlsec1
 gmake install

Building the Globus Toolkit from a source distribution:

These modifications of the script are needed:

 - patch -p1 < ../NorduGrid-globus.patch
 + gpatch -p1 < ../NorduGrid-globus.patch
 - make gpt
 + gmake gpt
 - make globus_core
 + gmake globus_core
 - make
 + gmake
 - make install
 + gmake install

Comment out the following lines in this file if you got error about stdint.h:

 50 // #ifdef HAVE_STDINT_H
 51 // #   include <stdint.h>
 52 // #endif

Installing Python:

Source code:

Performing configuration and installation:

 ./configure --enable-shared --prefix=/usr/local/python2.4
 gmake install

Building the Globus software:

The following environment variable settings and configuration command line options are also recommended to use:

  export PATH="/usr/xpg4/bin:/usr/local/bin:/opt/SUNWspro/bin:/usr/bin:/usr/sfw/bin:"\
  export GLOBUS_LOCATION="/opt/globus"
  export GPT_LOCATION="/opt/globus"
  export PKG_CONFIG_PATH="/usr/local/xmlsec1/lib/pkgconfig:${PKG_CONFIG_PATH}"


         /usr/xpg4/bin path MUST be before /usr/bin
         /usr/bin path MUST be before /usr/ucb

Configure parameters:

  ./configure CXXFLAGS="-I/usr/local/ssl/include" --with-dbcxx-include="/usr/local/db47/include"\
    LDFLAGS="-L/usr/local/db47/lib -L/usr/local/ssl/lib" --with-python=/usr/local/python2.4/bin/python

Building the ARC software:

To complete building and installation follow the instructions in the general build instruction.