Ubuntu/Globus

From NorduGrid

Jump to: navigation, search

Note: For latest Globus Toolkit, refer to GT4.2 build instructions. Text below is optimized for GT4.0.8.

Building Globus

Copied from NDGF technical Wiki

Let $GLOBUS_LOCATION be the globus install dir (where the compiled stuff ends up), e.g. /opt/globus4.0.4-vanilla and let $GLOBUSUSER be the username of the globus user

sudo mkdir $GLOBUS_LOCATION
sudo chown $GLOBUSUSER:$GLOBUSUSER $GLOBUS_LOCATION

Now the following is best performed as the $GLOBUSUSER. Point your web browser to GT4 download and download the latest full source code

Unpack it somewhere - lets call the path $GLOBUS_SRC

tar -xvjf <NAME of full source>

Lets patch it with arc patches fixing some bugs, adding GridFTP2 support and so on. Start by downloading the script (this version is adapted to Globus Toolkit 4.0.8).

chmod +x apply-arc-patches.sh
./apply-arc-patches.sh $GLOBUS_SRC

Enter the directory what the source ended up and build most of what we need

cd $GLOBUS_SRC
./configure --prefix=$GLOBUS_LOCATION
make common prews

That didn't build all, so lets build the rls client and openldap in multithreaded version

make globus_rls_client-thr
make globus_openldap-thr

And install it

make install
Personal tools