Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Tutorial on WMS build and debian package creation![]() | ||||||||
Line: 89 to 90 | ||||||||
git clone https://github.com/MarcoCecchi/org.glite.wms.git![]() | ||||||||
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 packagesThe control and .install files needed to produce the .deb packages are already there, in theorg.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 |