lsyncd/INSTALL

57 lines
960 B
Plaintext
Raw Permalink Normal View History

2014-04-29 14:11:27 +00:00
INSTALLING
==========
Prerequisites
-------------
CMake
Lsyncd now uses CMake as configuration tool
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
On OSX you yet need to get the xnu sources.
For example:
cmake -DWITH_INOTIFY=OFF -DWITH_FSEVENTS=ON -DXNU_DIR=/path/to/xnu-VERSION
2018-03-09 09:08:21 +00:00
make
2014-04-29 14:11:27 +00:00
FIXME make install not yet done