preparing 2.2.3

This commit is contained in:
Axel Kittenberger 2018-03-09 10:08:21 +01:00
parent 2dc8dc665b
commit 2e5f4462b4
3 changed files with 18 additions and 17 deletions

View File

@ -1,5 +1,6 @@
2018-??-??: 2.2.3
enhaencement: supporting includes with new filter and filterFrom options
change: needing at least Lua 5.2 (was 5.1)
change: if the target/targetdir ands with a ':' do not append
a trailing '/' to it, since that would change it from homedir to rootdir!
add: example for Amazon S3 Bucket (Daniel Miranda)

22
INSTALL
View File

@ -15,22 +15,22 @@ Prerequisites
Lua
For building Lsyncd the Lua interpreter 'lua'
and the Lua compiler 'luac' are needed.
They aren't needed in the deployed binary though.
and the Lua compiler 'luac' are needed.
They aren't needed in the deployed binary though.
Use Lua 5.1 or Lua 5.2 at your choice.
Use Lua 5.2 or later.
Liblua
The lua library.
Note that you likely need the package "liblua-dev"
or something like that.
Note that you likely need the package "liblua-dev"
or something like that.
Use Lua 5.1 or Lua 5.2 at your choice.
Use Lua 5.2 or later.
Note, this has to be exactly the same Version as the
lua compiler used above!
Note, this has to be exactly the same Version as the
lua compiler used above!
Building
@ -41,16 +41,16 @@ Building
mkdir build
cd build
cmake ..
make
make
sudo make install
Building intree:
cmake .
make
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
make
FIXME make install not yet done

View File

@ -28,7 +28,7 @@
# License text for the above reference.)
#
# The required version of Lua can be specified using the
# standard syntax, e.g. FIND_PACKAGE(Lua 5.1)
# standard syntax, e.g. FIND_PACKAGE(Lua 5.2)
# Otherwise the module will search for any available Lua implementation
# Always search for non-versioned lua first (recommended)
@ -41,7 +41,7 @@ SET(_POSSIBLE_LUA_LIBRARY lua)
IF(Lua_FIND_VERSION_MAJOR AND Lua_FIND_VERSION_MINOR)
SET(_POSSIBLE_SUFFIXES "${Lua_FIND_VERSION_MAJOR}${Lua_FIND_VERSION_MINOR}" "${Lua_FIND_VERSION_MAJOR}.${Lua_FIND_VERSION_MINOR}" "-${Lua_FIND_VERSION_MAJOR}.${Lua_FIND_VERSION_MINOR}")
ELSE(Lua_FIND_VERSION_MAJOR AND Lua_FIND_VERSION_MINOR)
SET(_POSSIBLE_SUFFIXES "53" "5.3" "-5.3" "52" "5.2" "-5.2" "51" "5.1" "-5.1")
SET(_POSSIBLE_SUFFIXES "53" "5.3" "-5.3" "52" "5.2" "-5.2")
ENDIF(Lua_FIND_VERSION_MAJOR AND Lua_FIND_VERSION_MINOR)
# Set up possible search names and locations