All -
    Based on some help I got yesterday, I setup some environment variables to see if I could get MarkIV working; still no joy:

env | sort | egrep 'LUA|TEX'
LUAINPUTS={/usr/local/texlive/texmf-local/scripts/context/lua,/usr/local/texlive/texmf-local/tex/context/base}
LUATEXDIR=/usr/local/texlive/texmf-local/scripts/context/lua
TEXMF={/usr/local/texlive/texmf-local,/usr/local/texlive/2007/texmf,/usr/local/texlive/2007/texmf-var,/usr/local/texlive/2007/texmf-dist}
TEXMFCACHE=/var/tmp
TEXMFCNF=/usr/local/texlive/2007/texmf/web2c

ctxtools --contextversion
CtxTools | context version: 2007.08.29 19:19 (/usr/local/texlive/texmf-local/tex/context/base/context.tex)
CtxTools | context version: 2007.08.29 19:19 (/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex)

luatools --version
This is luaTeX, Version 3.141592-beta-0.10.2-2007090506

LuaTeX merges and builds upon (parts of) the code from these projects:

tex       by Donald Knuth
etex      by Peter Breitenlohner, Phil Taylor and friends
omega     by John Plaice and Yannis Haralambous
aleph     by Giuseppe Bilotta
pdftex    by Han The Thanh and friends
kpathsea  by Karl Berry, Olaf Weber and others
lua       by Roberto Ierusalimschy, Waldemar Celes,
             Luiz Henrique de Figueiredo
metapost  by John Hobby, Taco Hoekwater and friends.
xpdf      by Derek Noonberg (partial)
fontforge by George Williams (partial)

Some extensions to lua and additional lua libraries are used, as well as
libraries for graphic inclusion. More details can be found in the source.
Code development was sponsored by a grant from Colorado State University
via the 'oriental tex' project, the TeX User Groups, and donations.

The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2. For more
information about these matters, see the file named COPYING and
the LuaTeX source.

Copyright 2007 Taco Hoekwater, the LuaTeX Team.

Compiled with libpng 1.2.15; using libpng 1.2.15
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.01


texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: 2007.08.29 19:19
TeXExec | format path: . /usr/local/texlive/texmf-local/web2c/unset /usr/local/texlive/2007/texmf/web2c/unset /usr/local/texlive/2007/texmf-var/web2c/unset /usr/local/texlive/2007/texmf-dist/web2c/unset /usr/local/texlive/texmf-local/web2c /usr/local/texlive/2007/texmf/web2c /usr/local/texlive/2007/texmf-var/web2c /usr/local/texlive/2007/texmf-dist/web2c
TeXExec | start of analysis
TeXExec | end of analysis
TeXExec |
TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD

But when I try to setup MarkIV, I still get errors

luatools --generate
This is luaTeX, Version 3.141592-beta-0.10.2-2007090506 (Web2C 7.5.6)
**
<I have to Control-D out here>

luatools --ini --compile --verbose cont-en
This is luaTeX, Version 3.141592-beta-0.10.2-2007090506 (Web2C 7.5.6) (INITEX)
(/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex
(/usr/local/texlive/texmf-local/tex/context/base/context.tex
(/usr/local/texlive/texmf-local/tex/context/base/syst-pln.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-prm.tex)
(/usr/local/texlive/texmf-local/tex/context/base/luat-env.tex
! LuaTeX error [string "luas[0]"]:1: attempt to index global 'input' (a nil val
ue).
<argument> ...mf.instance,"luat-env.lua","tex")) }
                                                 
\startruntimeluacode ...everyloadluacode #1}\fi #1
                                                 
l.88 \stopruntimectxluacode
                          
? ^D
! Emergency stop.
<argument> ...mf.instance,"luat-env.lua","tex")) }
                                                 
\startruntimeluacode ...everyloadluacode #1}\fi #1
                                                 
l.88 \stopruntimectxluacode
                          

in use: 109 node words from 500
still untouched: 383 node words
size  2 avail list:     4
size  3 avail list:     3
No pages of output.
Transcript written on cont-en.log.


So there is still some issue with my environment or luatex version.

Mark Almeida