Building gLExec and its gLite dependencies from SVN source
From PDP/Grid Wiki
Revision as of 11:22, 3 June 2010 by Msalle@nikhef.nl (talk | contribs)
This page explains the steps needed to build gLite tools, in particular gLExec and its LCMAPS and LCAS dependencies directly from the source in CVS.
Prerequisites: Globus and global settings
At this point we depend on a (binary) globus installation. For the following OSes it can be found in the Etics repositories:
- RedHat-4 32 bits (also for SL(C)-4 and Centos-4): globus-4.0.3-VDT-1.6.1-7.tar.gz
- RedHat5 64 bits (also for SL(C)-5 and Centos-5): globus-4.0.7-VDT-1.10.1-1.tar.gz
- OpenSUSE 11 64 bits: globus-4.0.7-VDT-1.10.1-1.tar.gz
- Debian-5 64 bits: globus-4.0.8-VDT-2.0.0-2.tar.gz
Set the following exports:
export globus_flav=gcc32 |
or | export globus_flav=gcc64 |
And additionally, adapted to personal taste:
export source=/tmp/source # Where to download sources export globus=/tmp/build/globus # Where to install globus export glite=/tmp/build/glite # Where to find glite builds export prefix=${glite} # Where to install glite builds
Make sure ${source} exists.
Since all these tarballs assume installation in /opt/globus unpack and 'relocate' as follows:
mkdir -p ${globus} && \ cd ${globus} && \ tar -zxf <globus tarball> && \ find -type f -name \*.la|while read file;do sed s+/opt/globus+${globus}+g ${file} > ${file}.new && \ mv -f ${file}.new ${file} done