2023-03-24 14:00:06 +00:00
|
|
|
# Compilation and installation of mboxgrep
|
2023-03-08 14:19:20 +00:00
|
|
|
|
2023-03-24 14:00:06 +00:00
|
|
|
`mboxgrep` should compile on a modern Unix-like operating system, such as GNU/Linux or FreeBSD.
|
2023-03-08 14:19:20 +00:00
|
|
|
|
2023-03-24 14:00:06 +00:00
|
|
|
Autoconf and Automake are used, and the most basic compilation procedure consists of:
|
2023-03-08 14:19:20 +00:00
|
|
|
|
|
|
|
```
|
2023-05-18 11:43:09 +00:00
|
|
|
autoreconf --install
|
2023-03-08 14:19:20 +00:00
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make install # root rights probably needed here, prefix with sudo in such case
|
|
|
|
```
|
|
|
|
|
2023-05-18 11:43:09 +00:00
|
|
|
(Invocation of `autoreconf` is only required if the source tree has been cloned from the
|
|
|
|
git repository.)
|
|
|
|
|
2023-03-08 14:19:20 +00:00
|
|
|
To see the list of flags accepted by the configure script, run:
|
|
|
|
|
|
|
|
```
|
|
|
|
./configure --help
|
|
|
|
```
|
|
|
|
|
|
|
|
Optionally, `mboxgrep` can be linked with the following libraries:
|
|
|
|
|
2023-05-18 11:43:09 +00:00
|
|
|
- PCRE2, to enable support for regular expressions compatible with Perl 5;
|
2023-03-08 14:19:20 +00:00
|
|
|
- zlib and bzlib, to enable support for compressed mbox folders.
|