forked from Verlihub/verlihub
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
79 lines (56 loc) · 2 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
=============================
Dependencies and installation
=============================
* Required dependencies:
[ bin lib hdr ] GCC 4.x [ 5.4.x ]
[ bin --- hdr ] CMake 2.x [ 3.5.x ]
[ bin lib hdr ] MySQL 5.x [ 5.7.x ]
[ --- lib hdr ] ZLib 1.x [ 1.2.x ]
[ --- lib hdr ] OpenSSL 1.x [ 1.0.x ]
[ --- lib hdr ] PCRE 8.x [ 8.38.x ]
[ --- lib hdr ] GetText 0.x [ 0.19.x ]
[ --- lib hdr ] MaxMindDB 1.x [ 1.3.x ]
[ --- lib hdr ] LibICU 55.x [ 55.x.x ]
[ ??? ??? ??? ] LibIntl ?.? [ ?.?.? ]
[ ??? ??? ??? ] Crypt ?.? [ ?.?.? ]
[ ??? ??? ??? ] Threads ?.? [ ?.?.? ]
[ ??? ??? ??? ] DL ?.? [ ?.?.? ]
* Optional dependencies:
[ --- lib hdr ] Lua 5.x [ 5.3.x ]
[ --- lib hdr ] Python 2.x [ 2.7.x ]
[ bin --- --- ] Dialog ?.? [ ?.?.?, for vh_gui script only ]
* Install dependencies on Debian:
sudo apt-get install libpcre3-dev libssl-dev mysql-server mysql-client libmysqlclient-dev libmaxminddb-dev libmaxminddb0 libicu-dev gettext libasprintf-dev g++ make cmake
* 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
===========