-
Notifications
You must be signed in to change notification settings - Fork 15
/
INSTALL
85 lines (60 loc) · 1.87 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
=============================
Dependencies and installation
=============================
* Required dependencies:
[ bin lib hdr ] GCC 4.8.0
[ bin --- hdr ] CMake 3.0
[ bin lib hdr ] MySQL 5.7.1
[ --- lib hdr ] OpenSSL 1.1.0
[ --- lib hdr ] LibICU 55.0
[ bin --- --- ] Make
[ --- lib hdr ] ZLib
[ --- lib hdr ] PCRE
[ --- lib hdr ] GetText
[ --- lib hdr ] MaxMindDB
[ ??? ??? ??? ] LibIntl
[ ??? ??? ??? ] Crypt
[ ??? ??? ??? ] Threads
[ ??? ??? ??? ] DL
* Optional dependencies:
[ --- lib hdr ] Lua 5.2
[ --- lib hdr ] Python 2.7
[ --- lib hdr ] PERL 5.20
[ bin --- --- ] Dialog
* Install dependencies on Debian:
sudo apt install libpcre3-dev libssl-dev mysql-server mysql-client libmysqlclient-dev libmaxminddb-dev libicu-dev gettext libasprintf-dev g++ make cmake
* Optional dependencies
sudo apt install python2.7-dev liblua5.2-dev libperl-dev
* Install dependencies on CentOS:
[todo]
* Install dependencies on Gentoo:
[todo]
* Install dependencies on RedHat:
[todo]
* Install dependencies on ArchLinux:
[todo]
* Compile and install Verlihub itself:
cd verlihub
mkdir build
cd build
cmake ..
make
make install (as super user)
ldconfig (as super user, this is required only when you get: cannot open shared object file, no such file or directory)
updatedb (as super user, people say this command is needed to update slocate locations)
=======================
Supported CMake options
=======================
-DCMAKE_INSTALL_PREFIX=/usr (default: /usr/local)
install prefix
-DLIB_INSTALL_DIR=<lib prefix> (default: lib)
install lib to <prefix for install>/<lib prefix>
example:
-DLIB_INSTALL_DIR=lib64 - install lib to <prefix for install>/lib64
-DPLUGIN_INSTALL_DIR=<plugin prefix> (default: <lib prefix>)
install plugins to <prefix for install>/<plugin prefix>
example:
-DPLUGIN_INSTALL_DIR=lib64/vh_plugins
===========
End of file
===========