This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
95 lines (78 loc) · 2.88 KB
/
README
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
* About LuaDist
-------------
LuaDist is a CMake-based multi-platform standalone Lua distribution
providing a build environment and module management. For more information
please visit http://www.luadist.org.
* Availability
------------
LuaDist is freely available for both academic and commercial purposes under
MIT license. See COPYRIGHT for details. Please see individual packages for
their license.
* Installation
------------
LuaDist relies on CMake (www.cmake.org) for building. The build process
consists of two stages. First stage in the CMake based bootstrap that will
build and install all needed components. Second stage uses the bootstrap
environment to build and install the final release. This process is needed to
ensure LuaDist remains self update-able and endorses its correct deployment
structure.
To build LuaDist on Unix (including Linux, OS X and Cygwin) systems simply
use the provided build bash script.
> ./build [optional CMake arguments]
LuaDist can be built natively on Windows using MinGW and MSVC compilers
(possibly others). For this purpose we provide respective build.bat and
build_msvc.bat scripts which you can use.
* Running
-------
LuaDist installs to a standalone directory and should be able to execute on
most systems supported systems without the need to set up any environment.
To invoke the luadist CLI simply use:
$ cd luadist/bin
$ ./lua luadist
Any other binaries distributed using LuaDist can also be invoked directly
$ cd luadist/bin
$ ./luac
If you experience problems with dynamic libraries or missing Lua modules you
can ensure LuaDist finds them by providing following environment variables:
$ export DIST_ROOT=/full/path/to/luadist
$ export LD_LIBRARY_PATH=$DIST_ROOT/lib
$ cd $DIST_ROOT/bin
$ ./lua luadist
* Compatibility
-------------
LuaDist was designed to support Unix/Linux, Mac and Windows
installs.
We are testing on the following operating systems:
Ubuntu 10.10, amd64 and x86
OS X 10.6, intel i386 and x86_64
Windows 7 with MinGW compiler, 32bit
Windows 7 with MSVC compilers, 32bit
Cygwin on Windows 7, 32bit
* Authors
-------
LuaDist is developed and maintained by:
Peter Drahoš
Peter Kapec
David Manura
Contributors:
Jozef Lang
Matej Lipták
NOTE: LuaDist installable components "dists" contain their copyright and
legal information. Authors of the contents of these components are not
related to the LuaDist project.
* Thanks
------
We would like to thank the following people who directly or indirectly
contributed to the project.
Roberto Ierusalimschy (Lua)
Waldemar Celes (Lua)
Luiz Henrique de Figueiredo (Lua)
Mike Pall (LuaJIT)
Hisham Muhamad (LuaRocks)
Karl M. Syrings (UnxUtils)
David Manura (luausers wiki)
André Carregal (luafilesystem)
Tomás Guisasola (luafilesystem)
Diego Nehab (luasocket)
All "dist" authors and maintainers.
Thank You.