lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


	Hi Peter

After changing the config file inside luaexpat-1.1 for lua 5.1, the lxp.so
is created.  But when I try to load it in lua, I am still getting some
strange errors:

ser:/usr/src/luaexpat-1.1# lua
Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio
require "xmlrpc.http"
/usr/local/share/lua/5.1/xmlrpc.lua:16: bad argument #1 to 'module' (string
expected, got nil)
stack traceback:
   [C]: in function 'module'
   /usr/local/share/lua/5.1/xmlrpc.lua:16: in main chunk
   [C]: in function 'require'
   /usr/local/share/lua/5.1/xmlrpc/http.lua:8: in main chunk
   [C]: in function 'require'
   stdin:1: in main chunk
   [C]: ?
    The error message tells us the module function was called
without the name of the module.  Could you please show me the content
of the 16th line of xmlrpc.lua file?  My copy of LuaXMLRPC package
does not have this file.  xmlrpc/init.lua is used instead.  Have you
changed something?

	Regards,
		Tomás