forked from janies/ipset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
34 lines (24 loc) · 800 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
34
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
* 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.