lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Progress... of sorts. My lua pages hang now, and here is the output from lighttpd:

/usr/bin/lua: /usr/bin/cgilua.fcgi:26: attempt to call field 'make_isolated_launcher' (a nil value)
stack traceback:
        /usr/bin/cgilua.fcgi:26: in main chunk
        [C]: ?


I had to remove the {.lp} handler as it was complaining about duplicate definitions, and of course, remove the luarocks requirement.

thx

On 2/26/10 9:08 PM, Fabio Mascarenhas wrote:
On Sat, Feb 27, 2010 at 12:02 AM, Rory Toma <rory@ooma.com> wrote:
I'm trying to get cgilua to work on an embedded arm platform. I've compiled and installed lua, fcgi, luafilesytem, cgilua and wsapi. I've manged to get things tweaked so that wsapi.fcgi stops giving me lib errors. Now what? I'm pretty sure it's just a matter of configuration and perhaps file placement, but I am unable to find any resources beyond "run apt-get and luarocks" - which I tried, by the way on Ubuntu and ended up having luarocks barf on me with syntax errors.

So, where do I start?

I'm also using lighttpd, and not apache. I tried using thttpd but gave up on that.

I'll send more details as needed, the stuff I've done so far would be lengthy to post.

thx

The cgilua.fcgi that you are using has a dependency on Kepler 1.1, so it does not work with the current version of WSAPI. I have attached a barebones lighttpd.conf to get you working, as well as new versions cgilua.fcgi and cgilua.cgi that work with WSAPI 1.2 and later.

I was hoping that one of the CGILua users would have already done that, I am not CGILua's maintainer and have zero interest in maintaining it... I do have commit access to git@github.com:cgilua.git, though, so I also uploaded these two new scripts there.

--
Fabio Mascarenhas