Differences between revisions 8 and 9
Revision 8 as of 2010-06-10 18:09:39
Size: 1013
Editor: scott
Comment:
Revision 9 as of 2011-08-26 04:10:18
Size: 1013
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

This is a short guide on building the latest development version of Upstart:

1. Get the code. Libnih is a utility library used by Upstart.

$ bzr branch lp:libnih
$ bzr branch lp:upstart

2. Configure and build libnih

$ cd libnih/
$ autoreconf -i
$ ./configure
$ make

3. Configure and build Upstart

$ cd ../upstart
$ autoreconf -i
$ ./configure --with-local-libnih=../libnih
$ make

Make sure to read upstart/HACKING to satisfy build dependencies.

You may need to include the libnih m4 file in your upstart checkout, or update that copied in from the system; if your build fails, try:

$ cp ../libnih/m4/libnih.m4 m4
$ autoconf

Distributions will likely have a separate package of libnih available, e.g. as libnih-dev or nih-devel, etc. If you install this package, you only need to configure and build Upstart as normal; though beware that trunk may need the very latest version of libnih, or even an unreleased version.

-- CategoryDoc

CompilingUpstart (last edited 2011-08-26 04:10:18 by localhost)