lua-users home
lua-l archive

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


Hi Peter,

Luaexpat is installed, but I can't see lxp.lua there, the only files that are available are:

ser:/usr/src/luaexpat-1.1/src/lxp# ls
lom.lua
ser:/usr/src/luaexpat-1.1/src/lxp# cd ..
ser:/usr/src/luaexpat-1.1/src# ls
lxp  lxp.def  lxplib.c    lxplib.h  lxplib.o  lxp.so.1.1.0
ser:/usr/src/luaexpat-1.1/src#

Any idea what may be wrong?

Thanks alot for your help.

Pete


On Thu, May 29, 2008 at 11:28 PM, Peter Cawley <lua@corsix.org> wrote:
Do  you have LuaExpat installed? (It's a requirement of Lua XMLRPC)

2008/5/29 Pete Kay <petedao@gmail.com>:
> Hi,
>
> I have successfully installed luaxmlrpc, but when I am not able to load it:
>
> ser:/usr/src/luaxmlrpc-1.0b# lua
> Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio
>> require "xmlrpc.http"
> ./xmlrpc.lua:7: module 'lxp' not found:
>     no field package.preload['lxp']
>     no file './lxp.lua'
>     no file '/usr/local/share/lua/5.1/lxp.lua'
>     no file '/usr/local/share/lua/5.1/lxp/init.lua'
>     no file '/usr/local/lib/lua/5.1/lxp.lua'
>     no file '/usr/local/lib/lua/5.1/lxp/init.lua'
>     no file '/usr/share/lua/5.1/lxp.lua'
>     no file '/usr/share/lua/5.1/lxp/init.lua'
>     no file './lxp.so'
>     no file '/usr/local/lib/lua/5.1/lxp.so'
>     no file '/usr/lib/lua/5.1/lxp.so'
>     no file '/usr/local/lib/lua/5.1/loadall.so'
> stack traceback:
>     [C]: in function 'require'
>     ./xmlrpc.lua:7: 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]: ?
>>
>
> I have the three files under the  /usr/local/share/lua/5.1/xmlrpc/ dir
>
> ser:/usr/src/compat-5.1r5# ls /usr/local/share/lua/5.1/xmlrpc/
> cgi.lua  http.lua  xmlrpc.lua
>
> And ser:/usr/src/compat-5.1r5# find / -name lxp.lua
> does not return anything.
>
> What could be the problem?
>
> Thanks in advance for all your help.
>
> Regards,
> Pete
>
>
>