Debian Codegraph @

INSTALL

raw
1 INSTALLING
2 ==========
3
4 Prerequisites
5 -------------
6
7 CMake
8
9 Lsyncd now uses CMake as configuration tool
10
11 Common compiler stuff
12
13 The C compiler, make, binutils, etc.
14
15 Lua
16
17 For building Lsyncd the Lua interpreter 'lua'
18 and the Lua compiler 'luac' are needed.
19 They aren't needed in the deployed binary though.
20
21 Use Lua 5.2 or later.
22
23 Liblua
24
25 The lua library.
26
27 Note that you likely need the package "liblua-dev"
28 or something like that.
29
30 Use Lua 5.2 or later.
31
32 Note, this has to be exactly the same Version as the
33 lua compiler used above!
34
35
36 Building
37 --------
38
39 Building with a seperate build directory:
40
41 mkdir build
42 cd build
43 cmake ..
44 make
45 sudo make install
46
47 Building intree:
48 cmake .
49 make
50
51 On OSX you yet need to get the xnu sources.
52 For example:
53 cmake -DWITH_INOTIFY=OFF -DWITH_FSEVENTS=ON -DXNU_DIR=/path/to/xnu-VERSION
54 make
55
56 FIXME make install not yet done