by Mathieu Desnoyers
The following dependencies are optional:
./configure with --disable-numaThis source tree is based on the Autotools suite from GNU to simplify portability. Here are some things you should have on your system in order to compile the Git repository tree:
automake points to a recent version!)If you get the tree from the Git repository, you will need to run
./bootstrap
in its root. It calls all the GNU tools needed to prepare the tree configuration.
To build and install, do:
./configure
make
sudo make install
sudo ldconfig
Note: the configure script sets /usr/local as the default prefix for
files it installs. However, this path is not part of most distributions'
default library path, which will cause builds depending on librseq
to fail unless -L/usr/local/lib is added to LDFLAGS. You may provide a
custom prefix to configure by using the --prefix switch
(e.g., --prefix=/usr).
cd /path/to/kernel/sources
make headers_install
cd /path/to/librseq
CPPFLAGS=-I/path/to/kernel/sources/usr/include ./configure
make
sudo make install
sudo ldconfig
To run the test suite after a successful build:
make check
The default list of tests to run can be overriden by the TESTS variable:
make check TESTS="run_unregistered_test.tap"
13,912 followers · starred Feb 2019
69 followers · starred Dec 2018
95 followers · starred Jun 2026
14 followers · starred Mar 2024
C
75.9%
M4
14.2%
Shell
6.9%
Makefile
2.1%
by Mathieu Desnoyers
The following dependencies are optional:
./configure with --disable-numaThis source tree is based on the Autotools suite from GNU to simplify portability. Here are some things you should have on your system in order to compile the Git repository tree:
automake points to a recent version!)If you get the tree from the Git repository, you will need to run
./bootstrap
in its root. It calls all the GNU tools needed to prepare the tree configuration.
To build and install, do:
./configure
make
sudo make install
sudo ldconfig
Note: the configure script sets /usr/local as the default prefix for
files it installs. However, this path is not part of most distributions'
default library path, which will cause builds depending on librseq
to fail unless -L/usr/local/lib is added to LDFLAGS. You may provide a
custom prefix to configure by using the --prefix switch
(e.g., --prefix=/usr).
cd /path/to/kernel/sources
make headers_install
cd /path/to/librseq
CPPFLAGS=-I/path/to/kernel/sources/usr/include ./configure
make
sudo make install
sudo ldconfig
To run the test suite after a successful build:
make check
The default list of tests to run can be overriden by the TESTS variable:
make check TESTS="run_unregistered_test.tap"
13,912 followers · starred Feb 2019
69 followers · starred Dec 2018
95 followers · starred Jun 2026
14 followers · starred Mar 2024
C
75.9%
M4
14.2%
Shell
6.9%
Makefile
2.1%