-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.build
57 lines (43 loc) · 1.56 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Introduction
============
This repository provides the code for building the kinetic-protocol library for
these languages:
* c
* cpp
* python
Support for more languages can be added as needed in the future.
Dependencies
============
The following versions of dependent packages are known to work well while
building current kinetic clients from the github kinetic repository. These
versions are recommended, while other versions may also work.
* autoconf-2.69
* protobuf-c-1.0.1
* protobuf-compiler-2.6.0
* gcc toolchain
Build Instructions
==================
To build kinetic-protocol libraries, install the above mentioned dependencies,
and run the commands mentioned in the following steps.
1. To generate configure script from autotools, run autogen.sh script from top
source directory:
./autogen.sh
2. Run configure script from the top source directory:
./configure
By-default, the configure script enables kinetic-protocol library builds
for c, cpp and disables the library build for python. It is possible to
override this default behavior by "enable-feature" argument to configure
script.
For example, to enable build for python,
./configure --enable-python=yes
Similarly, it is possible to disable c and cpp library builds with parameters
"enable-c=no" and "enable-cpp=no"
3. Build the kientic-protocol libraries from the build directory:
make
4. Install the kientic-protocol libraries and headers:
make install
5. Uninstall the kinetic-protocol libraries and headers:
make uninstall
6. Clean the directory for another clean build:
make clean
make distclean