-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL
47 lines (33 loc) · 1.18 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
libaff4 2.0.6
Requirements:
-------------
C++11 compiler (gcc/clang/Visual Studio 2015+)
zlib
snappy
libraptor2
liblz4
cppunit (tests only)
openssl (tests / examples only)
doxygen (documentation).
General Installation (*nix):
----------------------------
With all dependencies installed, typically, a user can:
$ ./configure
$ make
# make install
And libaff4 will be installed into /usr/local/
To override installation location, use the --prefix option, and compiler
selection may be made using environment variables as passed to ./configure.
General Installation (Windows):
-------------------------------
Solution files for Visual Studio 2015 are located in /win32.
See /win32/INSTALL.txt for full details if needing to rebuild dependencies.
General Installation (macOS):
-------------------------------
Xcode/Clang is required for build/installation.
With all dependencies installed, typically, a user can:
$ ./configure CC=clang CXX=clang++ CXXFLAGS="-std=c++11 -stdlib=libc++ -O2 -g0" LDFLAGS="-stdlib=libc++ -L/opt/local/lib"
$ make
# make install
Notes: The additional flags are required to assist ./configure in finding
snappy, and ensuring the build utilises clang as the compiler.