Recommend this page to a friend!
  Classes of Christiaan Baartse  >  Lua sandbox  >  >  Download  
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lua sandbox
Run Lua language code integrated with PHP code
Author: By
Last change:
Date: 8 years ago
Size: 674 bytes


Class file image Download
mkdir /tmp/luaCompile
cd /tmp/luaCompile
rm -Rf ./*
tar -xzf lua-5.1.5.tar.gz
cd lua-5.1.5
patch -p1 << "EOF"
diff -rupN test//src/Makefile lua-5.1.5//src/Makefile
--- test//src/Makefile	2012-02-13 21:41:22.000000000 +0100
+++ lua-5.1.5//src/Makefile	2012-11-01 08:39:24.440378217 +0100
@@ -8,7 +8,7 @@
 PLAT= none
 CC= gcc
 AR= ar rcu
 RANLIB= ranlib
 RM= rm -f
make linux
sudo make install
sudo ln -s /usr/local/lib/liblua.a /usr/lib/liblua.a
sudo ln -s /usr/local/include /usr/include/lua
sudo ln -s /usr/include/lua /usr/include/lua/include
For more information send a message to info at phpclasses dot org.