-
Notifications
You must be signed in to change notification settings - Fork 6
/
INSTALL
33 lines (23 loc) · 788 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Installation instructions
=========================
The ipset library is written in ANSI C. It uses cmake as its build
manager.
Prerequisite libraries
----------------------
To build ipset, you need the following libraries installed on your
system:
* pkg-config
* libcork (https://github.com/redjack/libcork)
* check (http://check.sourceforge.net)
Building from source
--------------------
The ipset library uses cmake as its build manager. In most cases, you
should be able to build the source code using the following:
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
$ make
$ make test
$ make install
You might have to run the last command using sudo, if you need
administrative privileges to write to the $PREFIX directory.