Hi, That really does not work so well for me.
I am building in a cross-tools environment, and the result of my build is an image that is sent to the target hardware. Right now, I fetch from the tarballs on github and luaforge, and run make and "make install" with the TARGET_DIR specified. I guess I'll need to try the CVS cgilua, because when I switched today to copas 1.1.6, wsapi 1.3.2 and xavante 2.2.0 (from copas 1.1.5, wsapi 1.2, and xavante 2.1) it looks like there is a memory leak when I configured xavante's config.lua like this: 34 { -- cgiluahandler example 35 match = {"%.lp$", "%.lp/.*$", "%.lua$", "%.lua/.*$" }, 36 with = xavante.cgiluahandler.makeHandler (webDir, {reload=true}) 37 }, Jeff --- On Sun, 3/21/10, Fabio Mascarenhas <mascaren...@acm.org> wrote: > From: Fabio Mascarenhas <mascaren...@acm.org> > Subject: Re: [Kepler-Project] What's really needed for xavante/cgilua? > To: "Kepler Project mailing list" <kepler-project@lists.luaforge.net> > Date: Sunday, March 21, 2010, 5:04 PM > On Sun, Mar 21, 2010 at 5:48 PM, Jeff > Otterson <otter...@yahoo.com> > wrote: > > Hi, > > > > What all do I really need to have for a light-weight > xavante/cgilua environment? I want to run cgilua scripts > today, and maybe some luapages tomorrow... > > First install LuaRocks, WSAPI and Xavante. It is easier if > you install > with the installer at > http://github.com/downloads/keplerproject/wsapi/wsapi-install-1.3.2: > > bash wsapi-install-1.3.2 --prefix=/install/path > > Now you have to install CGILua cvs with > > /install/path/bin/luarocks install cgilua > --from=http://luarocks.org/repositories/rocks-cvs > > And md5 with > > /install/path/bin/luarocks install md5 > > Then run the wsapi script with the --cgilua option, passing > your document root: > > /install/path/bin/wsapi --cgilua /path/to/docroot > > After you do that everything you need will be on > /install/path. You > can scrap the install/path/lib/luarocks directory if you do > not want > to install or update rocks. > > You will have installed the following packages: > > Xavante 2.2.0 > LuaSocket 2.0.2 > Copas 1.1.6 > Coxpcall 1.13 > WSAPI 1.3.2 > Rings 1.2.3 > MD5 1.1.2 > LuaFileSystem 1.5.0 > > -- > Fabio Mascarenhas > > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/