Next: , Previous: , Up: STARTER Add-ons   [Contents]


6 Building and Installing

Prerequisites: Autotools, pkg-config, makeinfo, gettext, and the destination packages for each enabled category. Enabling a category requires the matching pkg-config module (starter-core, starter-configurable-service, starter-configurable-adapter); its Requires / Requires.private become available to that category’s tools.

Extra tools:

$ autoreconf -i          # regenerate build files
$ ./configure --prefix=/usr/local
$ make
$ sudo make install

Categories default to ‘auto’: enabled when the matching pkg-config module is installed, otherwise skipped.

--enable-core / --disable-core

Force or skip starter-core add-ons.

--enable-configurable-service / --disable-configurable-service

Force or skip STCS add-ons.

--enable-configurable-adapter / --disable-configurable-adapter

Force or skip STCA add-ons.

--disable-sun-position

Skip sun-position.

--disable-starter-db

Skip starter-db.

Unit tests for starter-db:

$ make -C starter-core/tools check

Build the Info manual:

$ make -C doc info

Hand-written C sources follow GNU indent style (indent -gnu); generated flex/bison outputs are not re-indented.