forked from Verlihub/verlihub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
41 lines (34 loc) · 949 Bytes
/
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
Prerequisites:
CMake 2.8
OpenSSL
MySQL 5.x
zlib
libpcre
gettext
Optional dependencies:
GeoIP
Lua 5.x
Python 2.x
dialog (for vh_gui script only)
To install Verlihub, run the following commands:
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)
---------------
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