public
Created

Install manual of Lua interface

  • Download Gist
lua_install.patch
Diff
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
diff --git a/src/INSTALL b/src/INSTALL
--- a/src/INSTALL
+++ b/src/INSTALL
@@ -172,6 +172,30 @@
And to not search for locally installed headers and libraries at all, use:
./configure --without-local-dir
+Unix: COMPILING WITH LUA
+
+When you want to compile with the Lua interface features enabled, make sure
+you compile on a machine where Lua is installed, otherwise the configure tests
+may fail. You need to compile with "luainterp" features:
+ ./configure --with-luainterp
+
+If Lua headers and libraries are installed not in /usr, for example in
+/usr/local, use:
+ ./configure --with-luainterp --with-lua-prefix=/usr/local
+
+Or set LUA_PREFIX environment variable:
+ export LUA_PREFIX=/usr/local
+ ./configure --with-luainterp
+
+When you want to compile with LuaJIT instead of Lua, make sure you compile on
+a machine where LuaJIT is installed, otherwise the configure tests may fail.
+You need to compile with --with-luajit in addition to --with-luainterp:
+ ./configure --with-luainterp --with-luajit
+
+When you want to compile with Lua interface feature using dynamic loading,
+use:
+ ./configure --with-luainterp=dynamic
+
3. OS/2
=======

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.