-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
42 lines (35 loc) · 1.37 KB
/
INSTALL
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
ALua 6.0
---------
ALua is developed almost all in Lua language, with a small and
platform dependent C part. ALua depends of LuaSocket package for
network communication, and provides support for timers using the
optional package LuaTimer (see below).
To install the Lua part
* Copy the 'alua.lua' file and 'alua' directory, both in 'src'
directory, to some place in your LUA_PATH.
To install the C part
(i) on Linux, BSD, or Mac OS X
* Enter the 'unix' directory
* Edit 'Makefile' accordingly
* Use the 'make' command to build the library, as follows
- make linux , or
- make bsd , or
- make macosx
* Install the 'alua.so' library using the command 'make install' or
copy manually the file to some place in your LUA_CPATH.
(ii) on Windows
You can download the ALua package for Windows from the ALua's
site, which already includes the Windows library.
Or build the package yourself:
* The directory 'windows' contain a Visual C++ project that builds
the 'alua.dll' library.
* Copy this library to some place in you LUA_CPATH.
LuaSocket 2.0.2
---------------
Please visit the official site
* http://luaforge.net/projects/luasocket/
LuaTimer 2.0
------------
This is an optinal package that can be integrated with ALua.
Download it from
* http://alua.inf.puc-rio.br/ftp/libs/