Contents |
This document has instructions on how to build the source for the lsb-dist-testkit-manager.
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
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.