README
Compiling and installing
The source uses GNU Autotools (autoconf, automake, libtool), so compiling and installing is simple:
$ ./configure AR=gcc-ar NM=gcc-nm RANLIB=gcc-ranlib
$ make
$ make install
To run the test suite which requires cmocka and valgrind, invoke:
$ make check
To change the destination directory (/usr/local
by default), use
the --prefix=DIR
argument to ./configure
. See ./configure
--help
for the list of all possible configuration options.
The command make check
runs the test suite distributed with
libreactor. This step is not strictly necessary, but it may find possible
problems that libreactor has on your platform. If any problems are found,
please report them.
If you obtained the source from a Git repository (or any other source
control system), there's no ./configure
script as it's not kept in
version control. To create the script, the build system needs to be
bootstrapped. There are many ways to do this, but the easiest one is
to use the supplied autogen.sh script:
$ ./autogen.sh