5 Mar
2009
5 Mar
'09
1:58 p.m.
Taco Hoekwater
David Kastrup wrote:
Ok, crossed my fingers and got the stuff to compile finally. I can send the diff. Does anybody have a quick clue what might cause the following on startup:
PANIC: unprotected error in call to Lua API (attempt to index a function value)
You probably have an error in the setup for opening luaexpat in luastuff.c. Some lua modules define a luaopen_XXX function that can be called directly, others need a lua_pushcfunction and lua_call, this has to do with require() vs. dofile().
The following appears to do the trick. At least lxp is known and LuaTeX runs again. No actually functionality tests yet. -- David Kastrup