[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: xavante recipe card
- From: jrs <jrs@...>
- Date: Thu, 7 Jul 2005 21:33:57 -0500
As a noob at lua but old hand at software I started my experiments with
xavante, since I thought it'd be fun if the webserver hosting the lua
reference manual was lua-based.
Using the latest of each of the dependencies led to the errors in
copas/coxpcall that have been recently reported on the lua list.
Next, I downloaded versions of the dependencies that had publish dates no
later than xavante. I built a little link garden using the visual directory
structure from the xavante doc page so that I could easily try combinations.
That led quickly to a running xavante using the versions listed next Other
combinations may work also, I just haven't tried them.
lua 5.0.2
luafilesystem-1.1
luasocket-2.0-beta3
cgilua-5.0b2
copas-1.0
venv-1.0
xavante-1.1b
The most important bits are probably using compat from cgilua and coxpcall
from xavante rather than the more recent stand-alone versions.
Here's how the directory ended up. Confusing for Windows users, I'm sure.
Sorry. :-)
The symlinks into subdirectories are a consequence of how I formatted LUA_PATH
and could be eliminated with a LUA_PATH that reflected a better understanding
of the 5.1 package model. :-)
! /u00/jrs/lua/runxavante$ ls -l
total 20
lrwxrwxrwx 1 jrs users 29 2005-07-06 21:31 cgilua
-> ../cgilua-5.0b2/clmain/cgilua
lrwxrwxrwx 1 jrs users 17 2005-07-06 21:32 cgilua.lua -> cgilua/cgilua.lua
lrwxrwxrwx 1 jrs users 23 2005-07-06 20:59 compat
-> ../cgilua-5.0b2/compat/
lrwxrwxrwx 1 jrs users 18 2005-07-05 20:12 config.lua -> config_xavante.lua
-rwxr-xr-x 1 jrs users 1427 2005-07-04 15:57 config_xavante.lua
lrwxrwxrwx 1 jrs users 9 2005-07-06 20:57 copas -> ../copas/
lrwxrwxrwx 1 jrs users 15 2005-07-06 21:06 copas.lua -> copas/copas.lua
lrwxrwxrwx 1 jrs users 28 2005-07-06 21:13 coxpcall
-> ../xavante-1.1b/bin/coxpcall
lrwxrwxrwx 1 jrs users 21 2005-07-06 21:14 coxpcall.lua ->
coxpcall/coxpcall.lua
lrwxrwxrwx 1 jrs users 8 2005-07-06 21:47 lua -> /opt/lua
-rwxr-xr-x 1 jrs users 599 2005-07-06 21:05 runlua_xavante
lrwxrwxrwx 1 jrs users 33 2005-07-06 21:15 stable.lua
-> ../cgilua-5.0b2/clmain/stable.lua
lrwxrwxrwx 1 jrs users 12 2005-07-06 20:57 venv-1.0 -> ../venv-1.0/
lrwxrwxrwx 1 jrs users 20 2005-07-06 21:14 venv.lua -> ../venv-1.0/venv.lua
drwxr-xr-x 4 jrs users 4096 2005-07-04 22:15 web
drwxr-xr-x 2 jrs users 4096 2005-07-06 21:09 xavante
-rwxr-xr-x 1 jrs users 1553 2005-07-06 21:05 xavante_start.lua
! /u00/jrs/lua/runxavante$ ls -l xavante
total 32
-rwxr-xr-x 1 jrs users 2762 2005-07-06 21:09 cgiluahandler.lua
lrwxrwxrwx 1 jrs users 21 2005-07-05 20:19 config.lua
-> ../config_xavante.lua
-rwxr-xr-x 1 jrs users 1745 2005-07-06 21:09 filehandler.lua
-rwxr-xr-x 1 jrs users 7640 2005-07-06 21:09 httpd.lua
-rwxr-xr-x 1 jrs users 5530 2005-07-06 21:09 mime.lua
-rwxr-xr-x 1 jrs users 1185 2005-07-06 21:09 redirecthandler.lua
-rwxr-xr-x 1 jrs users 2762 2005-07-06 21:09 server.lua
Hopefully this will be of some assistance for the next newcomer to try
xavante.
--
jrs