=============================
Dependencies and installation
=============================

* Required dependencies:

	[ bin lib hdr ] GCC			4.x		[ 9.3.x  ]
	[ bin --- hdr ] CMake		2.x		[ 3.16.x ]
	[ bin lib hdr ] MySQL		5.x		[ 8.0.x  ]
	[ --- lib hdr ] ZLib		1.x		[ 1.2.x  ]
	[ --- lib hdr ] OpenSSL		1.x		[ 1.1.x  ]
	[ --- lib hdr ] PCRE		8.x		[ 8.38.x ]
	[ --- lib hdr ] GetText		0.x		[ 0.19.x ]
	[ --- lib hdr ] MaxMindDB	1.x		[ 1.4.x  ]
	[ --- lib hdr ] LibICU		55.x	[ 66.1.x ]
	[ ??? ??? ??? ] LibIntl		?.?		[ ?.?.?  ]
	[ ??? ??? ??? ] Crypt		?.?		[ ?.?.?  ]
	[ ??? ??? ??? ] Threads		?.?		[ ?.?.?  ]
	[ ??? ??? ??? ] DL			?.?		[ ?.?.?  ]

* Optional dependencies:

	[ --- lib hdr ] Lua			5.x		[ 5.4.x  ]
	[ --- lib hdr ] Python		2.x		[ 2.7.18 ]
	[ --- lib hdr ] PERL		5.x		[ 5.30.x ]
	[ bin --- --- ] Dialog		?.?		[ ?.?.?, for vh_gui script only ]

* 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.3-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
===========
