forked from timrc-git/mdbm
-
Notifications
You must be signed in to change notification settings - Fork 111
/
README.build
42 lines (32 loc) · 1.43 KB
/
README.build
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
Tested on Fedora19 and RHEL6
Requirements:
To build this, you will need at least the following:
gcc-c++ (c++ compiler)
openssl (for hash functions)
openssl-devel (development package for headers)
cppunit (for unit testing)
cppunit-devel (development package for headers)
readline (for command-line emulation)
readline-devel (development package for headers)
valgrind (for memory leak/error checking)
To build the documentation, you will also need:
python-sphinx (sphinx documentation generator)
doxygen
To build RPMs you will need:
rpm-build
To build the perl wrapper, you will need at least the following:
Perl 5.14 or newer
ExtUtils::MakeMaker
Compilation:
Make sure the above requirements are installed on your machine.
Type 'make' or 'make all' in the root of the distribution to build.
You can do 'make test' (slow) or 'make test-fast' to test your build.
Then use 'make install' to install the libraries, executables, etc.
NOTE:
You may need to edit the "Configuration section" of Makefile.base
for specific locations and options on your platform.
For building on RHEL7 the following will help:
sudo yum install git gcc\* openssl-devel readline-devel cppunit-devel
If you have yum groups configured correctly:
sudo yum group install "Development Tools"
sudo yum install git openssl-devel readline-devel cppunit-devel rpm-build