[Dev-luatex] Did somebody compile luaexpat into LuaTeX yet?
David Kastrup
dak at gnu.org
Thu Mar 5 13:58:14 CET 2009
Taco Hoekwater <taco at elvenkind.com> writes:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-After-unpacking-lxp-massage-sources-for-compilation.patch
Type: text/x-diff
Size: 5521 bytes
Desc: not available
URL: <http://www.ntg.nl/mailman/private/dev-luatex/attachments/20090305/b1746a50/attachment.bin>
-------------- next part --------------
--
David Kastrup
More information about the dev-luatex
mailing list