[Home]XenomaiRuntimePackage

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Difference (from prior major revision) (no other diffs)

Changed: 19c19
XENO_PKG_RELEASE=0.1
XENO_PKG_RELEASE=0

Removed: 24,30d23

Xenomai 2.6.2 is currently broken




There are fixes in the master branch. To build a tarball:

git clone git://git.xenomai.org/xenomai-2.6.git && cd xenomai-2.6.git
git archive --prefix=xenomai-$XENO_VERSION/ master | bzip2 > ../xenomai-$XENO_VERSION.tar.bz2

Building a Xenomai Runtime Package From Tarball

The Xenomai runtime package is needed to build and run the Xenomai kernel, in turn needed by the Xenoma 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.

Prerequisites

Set variables needed for the build

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
 XENO_PKG_RELEASE=0

 # Your name and email for the changelog
 FULLNAME="John Doe"
 EMAIL="john@example.com"

install prerequisite packages

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

Build xenomai

 # unpack the archive
 tar xjf xenomai-$XENO_VERSION.tar.bz2 && cd xenomai-$XENO_VERSION

 # update changelog
 DEBEMAIL="$EMAIL" DEBFULLNAME="$FULLNAME" \
    debchange -v $XENO_VERSION-$XENO_PKG_RELEASE Build v$XENO_VERSION

 # build the package
 dpkg-buildpackage -uc -us

 # install resulting packages
 cd ..
 sudo dpkg -i *.deb

Links


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited January 27, 2013 5:31 am by Zultron (diff)
Search:
Published under a Creative Commons License