[Dev-luatex] Did somebody compile luaexpat into LuaTeX yet?

David Kastrup dak at gnu.org
Thu Mar 5 12:33:53 CET 2009

Taco Hoekwater <taco at elvenkind.com> writes:

> David Kastrup wrote:
>> luaexpat would appear to be part of the Kepler project, similar to some
>> existing LuaTeX modules.  My first naive attempts to drop luaexpat into
>> the LuaTeX tree were not overly successful.  It is not quite clear to me
>> what parts of the build structure (from Kepler and/or Luaforge?) are
>> actually being used in the existing library modules of LuaTeX.
>> Could someone give a brief summary what files I would be expected to
>> change in order to drop this into the tree?
> The build process of the module has to build a static version of
> the module (or just a set of .o files); then luatexlib.mk needs extra
> variable entries for calling that build process and linking its results
> into the binary; then in lua/luastuff.c you have to add the appropriate
> C function call to the luainterpreter() function.
> Cross your fingers and run build.sh.

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)

David Kastrup

More information about the dev-luatex mailing list