, view all tags

Tutorial on WMS build and debian package creation

This tutorial assumes that you have GIT access to WMS repository https://github.com/MarcoCecchi/org.glite.wms. It will help you to build all the component that you get when cloning the WMS GIT repository without the etics's build automation tools.

Pre-Requisites for build on SL6

  • A "virgin" SLC6 installation
  • yum-autoupdate disabled; execute as root:
chkconfig --level 0123456 yum-autoupdate off
/etc/init.d/yum-autoupdate stop
  • EMI2 repo for external dependencies installation via yum; execute:
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RPM-GPG-KEY-emi
rpm --import RPM-GPG-KEY-emi
yum -y install yum-priorities
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl6/x86_64/base/emi-release-2.0.0-1.sl6.noarch.rpm
rpm -ivh emi-release-2.0.0-1.sl6.noarch.rpm 
  • Remove the pre-installed c-ares package (that is wrong version):
rpm -e --nodeps c-ares-1.7.0-6.el6.x86_64
  • Install all needed dependencies:
yum -y install mod_fcgid mod_ssl gridsite-apache httpd-devel zlib-devel boost-devel \
                     c-ares-devel glite-px-proxyrenewal-devel voms-devel voms-clients argus-pep-api-c-devel \
                     lcmaps-without-gsi-devel lcmaps-devel classads-devel glite-build-common-cpp \
                     gsoap-devel libtar-devel cmake globus-ftp-client globus-ftp-client-devel log4cpp-devel \
                     log4cpp glite-jobid-api-c glite-jobid-api-c-devel glite-jobid-api-cpp-devel openldap-devel \
                     glite-wms-utils-exception  glite-wms-utils-classad chrpath cppunit-devel \
                     glite-wms-utils-exception-devel glite-wms-utils-classad-devel glite-jdl-api-cpp-devel \
                     glite-lb-client-devel glite-lbjp-common-gsoap-plugin-devel

Checking out WMS from GIT repository

As normal user (having the GIT access as said above) clone the WMS repository:
cd $HOME; git clone --progress -v https://github.com/MarcoCecchi/org.glite.wms.git WMS
(it is better if possible to use the ssh access: git clone --progress git@github.com:MarcoCecchi/org.glite.wms.git WMS)

Pre-Requisites for build on Debian and for .deb packaging

Execute (as root) this command:
sudo apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder cmake dpkg-dev

-- AlviseDorigo - 2012-10-04

Edit | Attach | PDF | History: r14 | r11 < r10 < r9 < r8 | Backlinks | Raw View | More topic actions...
Topic revision: r9 - 2012-10-09 - AlviseDorigo
  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback