This howto describes building the xenomai-runtime package from git.
The Xenomai runtime package is needed by the Xenomai threads versions of LinuxCNC (xenomai-kernel and xenomai-user). See this page for more info: XenomaiKernel
This recipe was developed on Ubuntu Precise, amd64 arch, but will probably work for other versions of Debian-like distros and other arches.
This builds either the master branch or a release. As of this writing, debian package building is broken in v2.6.2, but fixed in master.
Adjust the following values according to your needs.
# Version of xenomai release to use. Stable versions listed here: # http://download.gna.org/xenomai/stable/ XENO_VERSION=2.6.2.1
# Xenomai package release; this should be bumped with each new package release, # and reset with each new upstream Xenomai version PKG_RELEASE=1.0
# Your name and email for the changelog FULLNAME="John Doe" EMAIL="jdoe@example.com"
This list may be incomplete; git-buildpackage will print a list if more are needed.
# package build prereqs sudo apt-get install devscripts debhelper dh-kpatches findutils # git build prereqs sudo apt-get install git-core git-buildpackage
# unpack the archive tar xjf xenomai-$XENO_VERSION.tar.bz2 && cd xenomai-$XENO_VERSION
# update changelog DEBEMAIL="$EMAIL" DEBFULLNAME="$FULLNAME" \ debchange -v $XENO_VERSION-$PKG_RELEASE Build v$XENO_VERSION
# build the package dpkg-buildpackage -uc -us
# install resulting packages cd .. sudo dpkg -i *.deb