Difference: BuildWMSOnSL6FromScratchGITWorkarea (10 vs. 11)

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:

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