LSB DTK Manager Build Instructions
lsb-dist-testkit-manager Source Build Instructions
This document has instructions on how to build the source for the lsb-dist-testkit-manager.
- bzr is installed, 0.13 or better
- build tools are installed (make, lsbcc)
- lsb dynamic linker is in place (/%_lib/ld-lsb-%_arch.so.3)
- rpm-build is installed
- my 'pwd' is /home/tester/temp
- all build work is done as a "normal" user, not root
Checkout a branch from Bazaar-NG
An initial branch will take some minutes to complete:
$> bzr branch http://bzr.freestandards.org/lsb/3.1/dtk-manager dtk-manager
or if you have an existing branch:
$> cd dtk-manager $> bzr pull
Building the tarball and package
To build both tarball and package use a plain "make". The Makefile accepts the environment variable BZRTREES to pull from your local branch to build the tarball, rather than the remote branch.
$> cd dtk-manager/package $> BZRTREES=/home/tester/temp make
You should find something like this at the end of the build:
lsb-dtk-manager-0.5.src.tgz lsb-dtk-manager-0.5-1.src.rpm lsb-dtk-manager-0.5-1.i386.rpm
You could build tarball and packages through two separate steps:
Build source tarball
$> cd dtk-manager/package $> BZRTREES=/home/tester/temp make tarball
Build rpm package
$> make rpm_package
If your compiler fails with the message 'unrecognized command line option "-fno-stack-protector"', delete or comment out the line 'export CFLAGS=-fno-stack-protector' in the file 'lsb-dtk-manager.spec' and try again.
If you find issues in following the above procedure, please feel free to email to fsgteam_at_ispras.ru.