Setup for a SL5_x86_64_EPEL build enviroment
Requirements:
- Install SL5_x86_64
- All extension, such as DAG or ATrpms, must be removed or disabled (
"rm adobe.repo dag.repo atrpms.repo lemon.repo ..."
)
- SL5 YUM repositories must be protected (if not already present, add
protect=1
to all the sl-*.repo
files)
- Packages yum-protectbase and yum-priorities must be installed (
"yum -y install yum-protectbase yum-priorities"
)
- Configure the access to VCS repositories according to the user's security model adopted
Packages and environment
wget http://glite.web.cern.ch/glite/glite_key_gd.asc -O /tmp/glite_key_gd.asc
rpm --import /tmp/glite_key_gd.asc
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/RPM-GPG-KEY-emi -O /tmp/RPM-GPG-KEY-emi.asc
rpm --import /tmp/RPM-GPG-KEY-emi.asc
- Install the EPEL extension:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
(Please consider the mirrors listed
here
if the fedora website is not accesible).
- Install the EMI third-party repositories:
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/repos/emi1-third-party.repo -O /etc/yum.repos.d/emi1-third-party.repo
wget http://devel12.cnaf.infn.it:7444/pub/repofiles/emi-build-environment.repo -O /etc/yum.repos.d/emi-build-environment.repo
- Install the basic build enviroment:
yum install emi-build-environment
ETICS setup
- Install the ETICS client:
cd /opt && wget "http://eticssoft.web.cern.ch/eticssoft/repository/etics-client-setup.py" -O etics-client-setup
python etics-client-setup
- See HOWTO
the for ETICS client setup
Checkout and build
- Build the WMS (see the table below for specific values):
mkdir wms && cd wms
etics-workspace-setup
etics-get-project emi
(required before checkout: execute as root this command 'yum -y install gsoap2.7-devel')
etics-checkout --noask --platform sl5_x86_64_gcc412EPEL --continueonerror --project-config <Project configuration> -c <Subsystem configuration> emi.wms
etics-build --platform sl5_x86_64_gcc412EPEL --continueonerror emi.wms
| Project configuration | Subsystem configuration |
EMI-1 | emi_R_1_rc | emi-wms_B_3_3 |
EMI-2 | emi_B_2_dev | emi-wms_B_3_4 |
- Build the WMS UI (see the table below for specific values):
mkdir wms-ui && cd wms-ui
etics-workspace-setup
etics-get-project emi
etics-checkout --noask --platform sl5_x86_64_gcc412EPEL --continueonerror --project-config <Project configuration> -c <Subsystem configuration> emi.wms-ui
etics-build --platform sl5_x86_64_gcc412EPEL --continueonerror emi.wms-ui
| Project configuration | Subsystem configuration |
EMI-1 | emi_R_1_rc | emi-wms-ui_B_3_3 |
EMI-2 | emi_B_2_dev | emi-wms-ui_B_3_4 |
Tips and trick
- The basic build environment could not install all the external dependencies required, expecially for configuration under development such as EMI-2. The checkout operation notifies all the missing dependencies; these dependencies must be install by hand.