-
Notifications
You must be signed in to change notification settings - Fork 3
/
build-linux.txt
44 lines (40 loc) · 1.4 KB
/
build-linux.txt
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
Install OpenSSL libaries in a standard system location
On Debian GNU/Linux:
sudo apt-get install libssl-dev
On Red Hat Enterprise Linux or CentOS:
sudo yum install openssl-devel
Install cURL libraries in a standard system location
On Debian GNU/Linux:
sudo apt-get install libcurl3-dev
On Red Hat Enterprise Linux or CentOS:
sudo yum install curl-devel
If you want to generate HTML or PDF documentation
Install Doxygen
On Debian GNU/Linux:
sudo apt-get install doxygen
On Red Hat Enterprise Linux or CentOS:
sudo yum install doxygen
If you want to generate PDF documentation
Install LaTeX
On Debian GNU/Linux:
sudo apt-get install tetex-extra
On Red Hat Enterprise Linux or CentOS:
sudo yum install tetex-latex
In the GuardTime SDK top-level directory
Configure the build environment
./configure
Build the libraries
make
Build the examples
make check
Verify that the examples work
./src/http/http_create ./test/TestData.txt ./test/TestData.txt.gtts http://stamper.guardtime.net/gt-signingservice
./src/http/http_verify ./test/TestData.txt.gtts ./test/TestData.txt http://verify.guardtime.com/gt-controlpublications.bin -
Optionally build the HTML documentation
make htmldoc
Optionally build the full documentation
make doc
Install the libraries in a standard system location
Note that this only installs the libraries and header files
The documentation and examples remain in the build directory
sudo make install