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