2014-04-29 14:11:27 +00:00
|
|
|
INSTALLING
|
|
|
|
==========
|
|
|
|
|
|
|
|
Prerequisites
|
|
|
|
-------------
|
|
|
|
|
|
|
|
CMake
|
|
|
|
|
2018-03-12 11:07:57 +00:00
|
|
|
Lsyncd uses CMake as configuration tool
|
2014-04-29 14:11:27 +00:00
|
|
|
|
|
|
|
Common compiler stuff
|
|
|
|
|
|
|
|
The C compiler, make, binutils, etc.
|
|
|
|
|
|
|
|
Lua
|
|
|
|
|
|
|
|
For building Lsyncd the Lua interpreter 'lua'
|
2018-03-09 09:08:21 +00:00
|
|
|
and the Lua compiler 'luac' are needed.
|
|
|
|
They aren't needed in the deployed binary though.
|
|
|
|
|
|
|
|
Use Lua 5.2 or later.
|
2014-04-29 14:11:27 +00:00
|
|
|
|
|
|
|
Liblua
|
|
|
|
|
|
|
|
The lua library.
|
|
|
|
|
2018-03-09 09:08:21 +00:00
|
|
|
Note that you likely need the package "liblua-dev"
|
|
|
|
or something like that.
|
2014-04-29 14:11:27 +00:00
|
|
|
|
2018-03-09 09:08:21 +00:00
|
|
|
Use Lua 5.2 or later.
|
2014-04-29 14:11:27 +00:00
|
|
|
|
2018-03-09 09:08:21 +00:00
|
|
|
Note, this has to be exactly the same Version as the
|
|
|
|
lua compiler used above!
|
2014-04-29 14:11:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
Building
|
|
|
|
--------
|
|
|
|
|
|
|
|
Building with a seperate build directory:
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
2018-03-09 09:08:21 +00:00
|
|
|
make
|
2014-04-29 14:11:27 +00:00
|
|
|
sudo make install
|
|
|
|
|
|
|
|
Building intree:
|
|
|
|
cmake .
|
2018-03-09 09:08:21 +00:00
|
|
|
make
|
2014-04-29 14:11:27 +00:00
|
|
|
|
|
|
|
FIXME make install not yet done
|