Source Installation

 

Source Installation Procedures

  1. Prerequisites

    • Supported platforms and components
      1. Fedora Core 4
      2. Solaris 10
      Both platforms should have installed the default GNU software packages such as GCC compiler, GNU Autoconf, GNU Automake and other developer packages. You also need to install Fedora Core 4 packages for c++ support, gcc-c++ and libstd++-devel.

      In order to install TclGlobus, the following components must be present in your system and can be gotten from the links below if needed.
      If the softwares have not been installed, please install them first before continuing with TclGlobus installation.

      We have tested TclGlobus 1.3.0 with the following components including the version number.

      Fedora Core 4Solaris 10
      gcc4.0.24.0.3
      gcc-g++4.0.24.0.3
      libstd++-devel4.0.24.0.3
      tcl8.48.3
      swig1.3.241.3.25

      TclGlobus has not been tested with other version of the above softwares.

  2. Downloading the Source

    TclGlobus Alpha release 1.3.0 source tarball distribution can be obtained from the 1.3.0 download page.

    Place the gzipped tarball in your home directory or you can create a new directory called tclglobus and put it there.

    With the tarball distribution, all of the source code is contained in one large tar archive that has been compressed with GNU zip.

    Then, issue the following commands to untar the sources
    • tar -zxvf tclglobus-1.3.0.tar.gz
    This will create a subdirectory tclglobus-1.3.0.

  3. Building The Source

    Issue the following commands:
    • cd tclgobus-1.3.0
    • mkdir Linux-i686
    • cd Linux-i686
    • ../configure [options]
      Use options to override several configure time options for TclGlobus.
      • --prefix=dirname
        dirname refers to the toplevel installation directory. This is the recommended way to install the tools into a directory other than the default. The toplevel installation directory defaults to /usr/local.
      • --with-globus=globus-location
        globus-location refers to the top level directory where Globus Toolkit was installed.
      • --disable-globus-threads
        Specify that threading support should be disabled.

    To build TclGlobus using Globus Toolkit 4.0.2 (by default thread is enabled), one will issue the following command:
    • ../configure --with-globus=/path/to/gt4.0.2

    Then, simply execute
    • make
  4. Testing (optional)

    This step is optional, but we encourage you to run the testsuites and report to us if you encounter difficulties.
    • Modify resource variables
      TclGlobus resource variables are specified in the following file: /path/to/tclglobus/installation/common/swiglobus-test.rc. We prefer that each user has his/her own resource variables specified in the file called .swiglobus-test.rc under his/her home directory. Make sure you follow the same format in swiglobus-test.rc

      For running GASS and GSIFTP testsuites, you need to specify GSIFTP servers as defined in gass_copy and ftp_test sections. Make sure you can perform file transfers to the server using normal globus-url-copy.

      There are several flags specified in general section need to be modified in order to change the default behavior of the testsuites. The flags are:
      • IS_INFINITE is to run the testsuites in infinite loop, default is false
      • IS_MULTIPLE is to run the testsuites with multiple files per iteration, default is false
    • Run testsuites
      Once the resource variables are set up properly, you can run testsuites with
      • make check

  5. Final Install

    Once TclGlobus has been built successfully in Step 3 and passed testsuites in Step 4, you can install it with
    • make install

Last modified: July 21, 2006