mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-14 00:54:05 +00:00
52 lines
797 B
Plaintext
52 lines
797 B
Plaintext
INSTALLING
|
|
==========
|
|
|
|
Prerequisites
|
|
-------------
|
|
|
|
CMake
|
|
|
|
Lsyncd uses CMake as configuration tool
|
|
|
|
Common compiler stuff
|
|
|
|
The C compiler, make, binutils, etc.
|
|
|
|
Lua
|
|
|
|
For building Lsyncd the Lua interpreter 'lua'
|
|
and the Lua compiler 'luac' are needed.
|
|
They aren't needed in the deployed binary though.
|
|
|
|
Use Lua 5.2 or later.
|
|
|
|
Liblua
|
|
|
|
The lua library.
|
|
|
|
Note that you likely need the package "liblua-dev"
|
|
or something like that.
|
|
|
|
Use Lua 5.2 or later.
|
|
|
|
Note, this has to be exactly the same Version as the
|
|
lua compiler used above!
|
|
|
|
|
|
Building
|
|
--------
|
|
|
|
Building with a seperate build directory:
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|
|
sudo make install
|
|
|
|
Building in tree:
|
|
cmake .
|
|
make
|
|
sudo make install
|
|
|