Thank you very much dear sir. :)
Following you guidance I managed to install Lua and Luarocks.I had to do the
patching of the luaconf.h manually (some weird error said the patching kept on
failing.)

I am now trying to test the installation. I grabbed the example from the orbit
page[1], but changed the shebang line to point to the wspai.cgi in my
installation. Then I go ahead and execute on the SSH the following.

 u...@host.com [~]# public_html/lua/sandbox/bin/wsapi.cgi 
public_html/lua/hello.lua

and the following comes up:

WSAPI error in application:
...hor/public_html/lua/sandbox/share/lua/5.1//orbit.lua:466: attempt to get
length of field '?' (a nil value)
stack traceback:
        ...hor/public_html/lua/sandbox/share/lua/5.1//orbit.lua:466: in function
'dispatcher'
        ...hor/public_html/lua/sandbox/share/lua/5.1//orbit.lua:522: in function
<...hor/public_html/lua/sandbox/share/lua/5.1//orbit.lua:521>
        (tail call): ?
        (tail call): ?
        (tail call): ?
        [C]: in function 'xpcall'
        ...lic_html/lua/sandbox/share/lua/5.1//wsapi/common.lua:254: in function
'run_app'
        ...lic_html/lua/sandbox/share/lua/5.1//wsapi/common.lua:281: in function
'run'
        ...public_html/lua/sandbox/share/lua/5.1//wsapi/cgi.lua:19: in function
'run'
        ...ndbox/lib/luarocks/rocks/wsapi/1.3.4-1/bin/wsapi.cgi:26: in main 
chunk
        [C]: ?

[1] http://keplerproject.github.com/orbit/


_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to