-
Notifications
You must be signed in to change notification settings - Fork 70
Manual installation
iman daneshi edited this page Mar 17, 2016
·
1 revision
You should have lua,luarocks,redis-server,moonscript,lua-socket,lua-sec,oauth,redis-lua,lua-cjson and ansicolors installed
You can install them by:
sudo apt-get update; sudo apt-get install lua5.1 luarocks lua-socket lua-sec redis-server curl ; sudo luarocks install moonscript ; sudo luarocks install oauth ; sudo luarocks install redis-lua ; sudo luarocks install lua-cjson ; sudo luarocks install ansicolors;sudo luarocks install serpent
If you get this error from moonscript
/usr/bin/lua: /usr/share/lua/5.1//luarocks/loader.lua:113: error loading module 'lfs' from file '/usr/local/lib/lua/5.1/lfs.so':
/usr/local/lib/lua/5.1/lfs.so: undefined symbol: luaL_register
Make sure you are using the lua5.1 package instead of the lua5.2 package. Try:
sudo apt-get install lua5.1
sudo apt-get remove lua5.2