Difference: BuildWMSOnSL6FromScratchGITWorkarea (1 vs. 14)

Revision 142012-10-15 - AlviseDorigo

Line: 1 to 1
 

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.
Line: 15 to 15
 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
Changed:
<
<
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl6/x86_64/base/emi-release-2.0.0-1.sl6.noarch.rpm
>
>
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):
Line: 25 to 26
 
  • Install all needed dependencies:
yum -y install mod_fcgid mod_ssl gridsite-apache httpd-devel zlib-devel boost-devel \
Changed:
<
<
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
>
>
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
Line: 44 to 46
 Execute (as root) the following commands:
apt-get install curl
Changed:
<
<
curl http://emisoft.web.cern.ch/emisoft/dist/EMI/2/debian/dists/squeeze/main/binary-amd64/emi-release_2.0.0-1.deb6.1_all.deb
>
>
curl http://emisoft.web.cern.ch/emisoft/dist/EMI/2/debian/dists/squeeze/main/ binary-amd64/emi-release_2.0.0-1.deb6.1_all.deb
  -o emi-release_2.0.0-1.deb6.1_all.deb

dpkg -i emi-release_2.0.0-1.deb6.1_all.deb

Line: 55 to 58
  Now an extra EMI software repository is needed to be able to install glite-jobid* packages; as root do the following:
Changed:
<
<
curl http://eticssoft.web.cern.ch/eticssoft/pbuilder/emi-2-deb6-test-x86_64.list -o /etc/apt/sources.list.d/emi-2-deb6-test-x86_64.list
>
>
curl http://eticssoft.web.cern.ch/eticssoft/pbuilder/emi-2-deb6-test-x86_64.list -o /etc/apt/sources.list.d/emi-2-deb6-test-x86_64.list
 apt-get update Now you can install some dependencies needed by WMS's build (as root):
apt-get install libglite-jobid-api-c-dev libglite-jobid-api-cpp-dev libglite-jobid2 libclassad0-dev \
                     liblog4cpp5-dev libglobus-io-dev libglobus-gss-assist-dev libglobus-ftp-client-dev \
Changed:
<
<
libglobus-common-dev libboost-regex-dev libboost-filesystem-dev libboost-date-time-dev
>
>
libglobus-common-dev libboost-regex-dev libboost-filesystem-dev libboost-date-time-dev libldap2-dev
  Now, some dependencies internal and external do not provice the pkg-config .pc files (this is the case of boost, classad, etc.).
Line: 89 to 94
 git clone git@github.com:MarcoCecchi/org.glite.wms.git

cd classad-utils

Changed:
<
<
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include -DPVER=$VERSION
>
>
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include -DPVER=$VERSION
 make install cd ..

cd jobman-exception

Changed:
<
<
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include -DPVER=$VERSION
>
>
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include -DPVER=$VERSION
 make install cd ..

cd org.glite.wms/org.glite.wms.common

Changed:
<
<
cmake . -DPREFIX=$HOME/WORKAREA/stage/usr -DINSTALL_BUILD_DEV=$HOME/WORKAREA/debian/build_dev/org.glite.wms.common/usr -DINSTALL_BUILD=$HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/usr -DOFFICIAL_INSTALL_PREFIX=/usr -DPVER=$VERSION
>
>
cmake . -DPREFIX=$HOME/WORKAREA/stage/usr -DINSTALL_BUILD_DEV= $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/usr -DINSTALL_BUILD=$HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/usr -DOFFICIAL_INSTALL_PREFIX=/usr -DPVER=$VERSION
 make install
Line: 125 to 139
 cp debian/deb-control-file-dev.txt $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/DEBIAN/control cp debian/libglite-wms-common-dev.install $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/DEBIAN/
Changed:
<
<
dpkg -b $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/glite-wms-common.deb dpkg -b $HOME/WORKAREA/debian/build_dev/org.glite.wms.common $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/glite-wms-common-dev.deb
>
>
dpkg -b $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/glite-wms-common.deb dpkg -b $HOME/WORKAREA/debian/build_dev/org.glite.wms.common $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/glite-wms-common-dev.deb
  -- AlviseDorigo - 2012-10-04

Revision 132012-10-12 - AlviseDorigo

Line: 1 to 1
 

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.
Line: 37 to 37
 

Checking out WMS from GIT repository

As normal user (having the GIT access as said above) clone the WMS repository:
Changed:
<
<
cd $HOME; git clone --progress -v https://github.com/MarcoCecchi/org.glite.wms.git WMS
>
>
cd $HOME; git clone git@github.com:MarcoCecchi/org.glite.wms.git WMS
 
Deleted:
<
<
(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) the following commands:
Line: 85 to 84
 mkdir WORKAREA cd WORKAREA
Changed:
<
<
git clone git://github.com/italiangrid/classad-utils.git git clone git://github.com/italiangrid/jobman-exception.git git clone https://github.com/MarcoCecchi/org.glite.wms.git
>
>
git clone git@github.com:italiangrid/classad-utils.git git clone git@github.com:italiangrid/jobman-exception.git git clone git@github.com:MarcoCecchi/org.glite.wms.git
  cd classad-utils cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include -DPVER=$VERSION

Revision 122012-10-12 - AlviseDorigo

Line: 1 to 1
 

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.
Line: 89 to 90
 git clone https://github.com/MarcoCecchi/org.glite.wms.git

cd classad-utils

Changed:
<
<
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include
>
>
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include -DPVER=$VERSION
 make install cd ..
Added:
>
>
 cd jobman-exception
Changed:
<
<
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include
>
>
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include -DPVER=$VERSION
 make install cd ..
Added:
>
>
 cd org.glite.wms/org.glite.wms.common
Changed:
<
<
cmake . -DPREFIX=$HOME/WORKAREA/stage/usr -DINSTALL_BUILD_DEV=$HOME/WORKAREA/debian/build_dev/org.glite.wms.common/usr -DINSTALL_BUILD=$HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/usr -DOFFICIAL_INSTALL_PREFIX=/usr
>
>
cmake . -DPREFIX=$HOME/WORKAREA/stage/usr -DINSTALL_BUILD_DEV=$HOME/WORKAREA/debian/build_dev/org.glite.wms.common/usr -DINSTALL_BUILD=$HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/usr -DOFFICIAL_INSTALL_PREFIX=/usr -DPVER=$VERSION
 make install
Deleted:
<
<
 

In order to make sure that everything worked try to execute an executable provided by org.glite.wms.common:

Line: 111 to 113
 It doesn't matter the error output, this is just to verify that the exe is correctly compiled and linked. TBC
Added:
>
>

Produce the debian packages

The control and .install files needed to produce the .deb packages are already there, in the org.glite.wms.common/debian directory. To produce the debian packages it's just matter of change dir on the directories specified when cmake has been invoked (look above for the INSTALL_BUILD and INSTALL_BUILD_DEV macros) and execute the .deb build command. Then do the following:
cd $HOME/WORKAREA/org.glite.wms/org.glite.wms.common

mkdir -p $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/DEBIAN
cp debian/deb-control-file.txt $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/DEBIAN/control
cp debian/libglite-wms-common.install $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/DEBIAN/

mkdir -p $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/DEBIAN
cp debian/deb-control-file-dev.txt $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/DEBIAN/control
cp debian/libglite-wms-common-dev.install $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/DEBIAN/

dpkg -b $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common $HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/glite-wms-common.deb
dpkg -b $HOME/WORKAREA/debian/build_dev/org.glite.wms.common $HOME/WORKAREA/debian/build_dev/org.glite.wms.common/glite-wms-common-dev.deb

 -- AlviseDorigo - 2012-10-04

Revision 112012-10-11 - AlviseDorigo

Line: 1 to 1
 

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.
Line: 45 to 45
 Execute (as root) the following commands:
apt-get install curl
Changed:
<
<
curl http://emisoft.web.cern.ch/emisoft/dist/EMI/2/debian/dists/squeeze/main/binary-amd64/emi-release_2.0.0-1.deb6.1_all.deb -o emi-release_2.0.0-1.deb6.1_all.deb
>
>
curl http://emisoft.web.cern.ch/emisoft/dist/EMI/2/debian/dists/squeeze/main/binary-amd64/emi-release_2.0.0-1.deb6.1_all.deb -o emi-release_2.0.0-1.deb6.1_all.deb
  dpkg -i emi-release_2.0.0-1.deb6.1_all.deb
Changed:
<
<
apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder cmake dpkg-dev pkg-config
>
>
apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder cmake dpkg-dev pkg-config
  Now an extra EMI software repository is needed to be able to install glite-jobid* packages; as root do the following:
Line: 59 to 61
  Now you can install some dependencies needed by WMS's build (as root):
Changed:
<
<
apt-get install libglite-jobid-api-c-dev libglite-jobid-api-cpp-dev libglite-jobid2 libclassad0-dev liblog4cpp5-dev libglobus-io-dev libglobus-gss-assist-dev libglobus-ftp-client-dev libglobus-common-dev libboost-regex-dev libboost-filesystem-dev libboost-date-time-dev
>
>
apt-get install libglite-jobid-api-c-dev libglite-jobid-api-cpp-dev libglite-jobid2 libclassad0-dev liblog4cpp5-dev libglobus-io-dev libglobus-gss-assist-dev libglobus-ftp-client-dev libglobus-common-dev libboost-regex-dev libboost-filesystem-dev libboost-date-time-dev
 
Changed:
<
<
Now, some dependencies internal and external do not provice the pkg-config .pc files (this is the case of boost, classad, etc.). As root follow these steps:
>
>
Now, some dependencies internal and external do not provice the pkg-config .pc files (this is the case of boost, classad, etc.). As root follow these steps:
 
Changed:
<
<
curl http://devel12.cnaf.infn.it:7444/pub/emi/packaging/deb/emi-pkgconfig-compat/deb-emi-pkgconfig-compat-head -o deb-emi-pkgconfig-compat-head
>
>
curl http://devel12.cnaf.infn.it:7444/pub/emi/packaging/deb/emi-pkgconfig-compat/deb-emi-pkgconfig-compat-head -o deb-emi-pkgconfig-compat-head
  chmod +x deb-emi-pkgconfig-compat-head ./deb-emi-pkgconfig-compat-head
Line: 91 to 97
 make install cd .. cd org.glite.wms/org.glite.wms.common
Changed:
<
<
cmake . -DPREFIX=$HOME/WORKAREA/stage/usr
>
>
cmake . -DPREFIX=$HOME/WORKAREA/stage/usr -DINSTALL_BUILD_DEV=$HOME/WORKAREA/debian/build_dev/org.glite.wms.common/usr -DINSTALL_BUILD=$HOME/WORKAREA/debian/build_nodev/org.glite.wms.common/usr -DOFFICIAL_INSTALL_PREFIX=/usr
 make install
Added:
>
>
 

In order to make sure that everything worked try to execute an executable provided by org.glite.wms.common:

Revision 102012-10-11 - AlviseDorigo

Line: 1 to 1
 

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.
Line: 42 to 42
 (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

Changed:
<
<
Execute (as root) this command:
>
>
Execute (as root) the following commands:
 
Changed:
<
<
sudo apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder cmake dpkg-dev
>
>
apt-get install curl curl http://emisoft.web.cern.ch/emisoft/dist/EMI/2/debian/dists/squeeze/main/binary-amd64/emi-release_2.0.0-1.deb6.1_all.deb -o emi-release_2.0.0-1.deb6.1_all.deb

dpkg -i emi-release_2.0.0-1.deb6.1_all.deb

apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder cmake dpkg-dev pkg-config

Now an extra EMI software repository is needed to be able to install glite-jobid* packages; as root do the following:

curl http://eticssoft.web.cern.ch/eticssoft/pbuilder/emi-2-deb6-test-x86_64.list -o /etc/apt/sources.list.d/emi-2-deb6-test-x86_64.list
apt-get update
Now you can install some dependencies needed by WMS's build (as root):
apt-get install libglite-jobid-api-c-dev libglite-jobid-api-cpp-dev libglite-jobid2 libclassad0-dev liblog4cpp5-dev libglobus-io-dev libglobus-gss-assist-dev libglobus-ftp-client-dev libglobus-common-dev libboost-regex-dev libboost-filesystem-dev libboost-date-time-dev

Now, some dependencies internal and external do not provice the pkg-config .pc files (this is the case of boost, classad, etc.). As root follow these steps:
curl http://devel12.cnaf.infn.it:7444/pub/emi/packaging/deb/emi-pkgconfig-compat/deb-emi-pkgconfig-compat-head -o deb-emi-pkgconfig-compat-head

chmod +x deb-emi-pkgconfig-compat-head
./deb-emi-pkgconfig-compat-head
dpkg -i BINARIES/emi-pkgconfig-compat_1.0.1-1_all.deb
At this point your debian box is ready to build WMS software, logout and login as "normal" user.

Build (on both SL6 and Debian6_2)

These are the steps to follow (at the moment only the org.glite.wms.common component is covered):
cd $HOME
mkdir WORKAREA
cd WORKAREA
git clone git://github.com/italiangrid/classad-utils.git
git clone git://github.com/italiangrid/jobman-exception.git
git clone https://github.com/MarcoCecchi/org.glite.wms.git

cd classad-utils
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include
make install
cd ..
cd jobman-exception
cmake . -DCMAKE_INSTALL_PREFIX=$HOME/WORKAREA/stage  -Dprefix=$HOME/WORKAREA/stage/usr -Dexec_prefix=$HOME/WORKAREA/stage/usr -Dlibdir=$HOME/WORKAREA/stage/usr/lib -Dincludedir=$HOME/WORKAREA/stage/usr/include
make install
cd ..
cd org.glite.wms/org.glite.wms.common
cmake . -DPREFIX=$HOME/WORKAREA/stage/usr
make install

In order to make sure that everything worked try to execute an executable provided by org.glite.wms.common:

export LD_LIBRARY_PATH=$HOME/WORKAREA/stage/usr/lib
$HOME/WORKAREA/stage/usr/bin/glite-wms-get-configuration 
Configuration problem: file "glite_wms.conf" not found in the path(s) /etc/glite-wms, /opt/glite/etc, /etc,
 
Added:
>
>
It doesn't matter the error output, this is just to verify that the exe is correctly compiled and linked.
 TBC

-- AlviseDorigo - 2012-10-04

Revision 92012-10-09 - AlviseDorigo

Line: 1 to 1
 

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.
Line: 44 to 44
 

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

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

Revision 82012-10-09 - AlviseDorigo

Line: 1 to 1
Added:
>
>

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.
Changed:
<
<
Pre-Requisites
>
>

Pre-Requisites for build on SL6

 
  • A "virgin" SLC6 installation
  • yum-autoupdate disabled; execute as root:
Line: 32 to 34
  glite-lb-client-devel glite-lbjp-common-gsoap-plugin-devel
Changed:
<
<
Log out from root account and as normal user (having the GIT access as said above) clone the WMS repository:
>
>

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
Added:
>
>
(it is better if possible to use the ssh access: git clone --progress git@github.com:MarcoCecchi/org.glite.wms.git WMS)
 
Changed:
<
<
In order to build all the component downloaded in WMS you must follow the dependency chain.
>
>

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
 TBC

-- AlviseDorigo - 2012-10-04

Revision 72012-10-08 - AlviseDorigo

Line: 1 to 1
 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

Line: 29 to 29
  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
Changed:
<
<
glite-lb-client-devel
>
>
glite-lb-client-devel glite-lbjp-common-gsoap-plugin-devel
 

Log out from root account and as normal user (having the GIT access as said above) clone the WMS repository:

Revision 62012-10-08 - AlviseDorigo

Line: 1 to 1
 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

Line: 28 to 28
  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
Changed:
<
<
glite-wms-utils-exception-devel glite-wms-utils-classad-devel
>
>
glite-wms-utils-exception-devel glite-wms-utils-classad-devel glite-jdl-api-cpp-devel glite-lb-client-devel
 

Log out from root account and as normal user (having the GIT access as said above) clone the WMS repository:

Revision 52012-10-05 - AlviseDorigo

Line: 1 to 1
 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

Line: 22 to 22
 
  • Install all needed dependencies:
Changed:
<
<
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
>
>
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
 

Log out from root account and as normal user (having the GIT access as said above) clone the WMS repository:

Revision 42012-10-05 - MarcoCecchi

Line: 1 to 1
 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

Line: 22 to 22
 
  • Install all needed dependencies:
Changed:
<
<
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
>
>
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
 

Log out from root account and as normal user (having the GIT access as said above) clone the WMS repository:

Revision 32012-10-05 - AlviseDorigo

Line: 1 to 1
 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

Line: 22 to 22
 
  • Install all needed dependencies:
Changed:
<
<
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
>
>
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
 

Log out from root account and as normal user (having the GIT access as said above) clone the WMS repository:

Revision 22012-10-04 - AlviseDorigo

Line: 1 to 1
 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

Line: 22 to 22
 
  • Install all needed dependencies:
Changed:
<
<
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
>
>
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
 

Log out from root account and as normal user (having the GIT access as said above) clone the WMS repository:

Revision 12012-10-04 - AlviseDorigo

Line: 1 to 1
Added:
>
>
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

  • 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

Log out from root account and 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

In order to build all the component downloaded in WMS you must follow the dependency chain.

TBC

-- AlviseDorigo - 2012-10-04

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback