-
Notifications
You must be signed in to change notification settings - Fork 16
/
BUILDING
51 lines (34 loc) · 1.57 KB
/
BUILDING
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Dependencies
------------
dupd requires SQLite (-lsqlite3) and OpenSSL (-lcrypto).
For example, on Debian Linux and descendants (like Ubuntu) the
development headers are provided by packages libsqlite3-dev and
libssl-dev. To run the tests you'll also need sqlite3 package. On
other platforms please check your package manager documentation.
Note that dupd no longer requires libbloom.
Branches
--------
The master branch contains the latest work in progress and it carries
a version with a "-dev" suffix to highlight this. While in theory
the master branch is always kept in a working state, this might not
always be true in practice.
If you're looking to build a stable binary for production use or
packaging, it is best to build from the most recent release tag.
Building
--------
Some pre-built packages are available so you might not have to build
from source. For pointers on these, see the project page:
http://www.virkki.com/dupd/
The Makefile specifically supports Linux, SunOS, Darwin (OS X), OpenBSD
and FreeBSD. If you build on other platforms, let me know.
The Makefile assumes GNU make. To build just run make (or gmake).
If you'd like to test your built binary run "make test".
There are other targets in the Makefile which you won't need unless
you want to hack on the code. See Makefile in that case.
Installing
----------
% make install
This will, by default, install dupd under /usr/local
You can override the location by setting INSTALL_PREFIX
% make install INSTALL_PREFIX=/desired/path/here
There is also an uninstall target which will remove dupd and its man page.