Introduction
============

This component is the gridftp dsi plugin for StoRM endpoint.

Prerequisites
=============
Before proceding, you have to make sure you have installed and configured all prerequisite packages.

Globus
------
gpt    3.2-VDT-1.10.1
globus 4.0.7-VDT-1.10.1

zlib
----
zlib
zlib-devel
----------

libattr
-------
libattr
libattr-devel


Building the StoRM gridftp-dsi
==============================

To create RPM using ETICS
-------------------------
This component is included in the StoRM project or StoRM subsystem. You need to run what follows to create its RPM:

1. download ETICS clients following instructions at
   https://twiki.cern.ch/twiki/bin/view/ETICS/ClientHowTo

2. create your working environment like
   > mkdir <trybuild>;
   > cd <trybuild>;
   > etics-workspace-setup

3. get ETICS component information
   > etics-get-project StoRM
   > etics-checkout --project-config 'StoRM v. 1.6.0-1 TEST new' -c 'StoRM.gridftp-dsi v. 1.1.0-1 TEST' gridftp-dsi

4. create rpm
   > etics-build -c 'StoRM.gridftp-dsi v. 1.1.0-1 TEST' gridftp-dsi
   > ls -al ../dist/StoRM/gridftp-dsi/1.1.0/*

To create RPM without ETICS
---------------------------
You need to run what follows to create its RPM:

0. download StoRM common and StoRM client components
   > svn co --username joda https://svn.forge.cnaf.infn.it/svn/storm/backend/branches/GDSI_1.1 gridftp-dsi
   > svn co --username joda https://svn.forge.cnaf.infn.it/svn/storm/common/trunk common

1. create your working environment like
   > cd backend;
   > ./bootstrap
   > ./configure --prefix=<prefix> \
--with-globus-prefix=<globus-prefix> --with-globus-thr-flavor=gcc64dbgpthr --with-globus-nothr-flavor=gcc64dbg 

   or doing as follows:

   > /bin/bash compile_from_scratch.sh

2. create bin
   > make install

3. create rpm
   > make rpm

4. create tar
   > make distbin
   > make distsrc

Installing the SRM clients
==========================
rpm -i storm-globus-gridftp-gcc64dbg-1.1.0-1.sl5.x86_64.rpm



Have a nice day!
