File: INSTALL

package info (click to toggle)
lsyncd 2.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 484 kB
  • sloc: ansic: 2,640; sh: 81; makefile: 11
file content (56 lines) | stat: -rw-r--r-- 960 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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'
    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 intree:
    cmake .
    make

  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
    make

FIXME make install not yet done