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
- SL5 YUM repositories must be protected
- Packages yum-protectbase and yum-priorities must be installed
- 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
- 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 CREAM CE (see the table below for specific values):
mkdir cream-ce && cd cream-ce
etics-workspace-setup
etics-get-project emi
etics-checkout --noask --platform sl5_x86_64_gcc412EPEL --continueonerror --project-config <Project configuration> -c <Subsystem configuration> emi.cream-ce
etics-build --platform sl5_x86_64_gcc412EPEL --continueonerror emi.cream-ce
| Project configuration | Subsystem configuration |
EMI-1 | emi_R_1_rc | emi-cream-ce_B_1_13 |
EMI-2 | emi_R_2_rc | emi-cream-ce_B_1_14 |
- Build the CREAM UI (see the table below for specific values):
mkdir cream-ui && cd cream-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.cream-ui
etics-build --platform sl5_x86_64_gcc412EPEL --continueonerror emi.cream-ui
| Project configuration | Subsystem configuration |
EMI-1 | emi_R_1_rc | emi-cream-ui_B_1_13 |
EMI-2 | emi_R_2_rc | emi-cream-ui_B_1_14 |
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.
--
PaoloAndreetto - 2011-09-19