View previous topic :: View next topic |
Author |
Message |
Clad in Sky l33t
Joined: 04 May 2007 Posts: 885 Location: Germany
|
Posted: Thu Dec 01, 2016 7:33 am Post subject: XML in LUA |
|
|
Hi,
I'm trying to run a lua programme (PathOfBuilding - https://github.com/Openarl/PathOfBuilding/releases) on Gentoo (not written for Linux).
I was expecting problems, but not so early .
When I run the install script (lua LaunchInstall.lua), lua comes up with this:
Code: | lua: LaunchInstall.lua:10: module 'xml' not found:
no field package.preload['xml']
no file './xml.lua'
no file '/usr/share/lua/5.1/xml.lua'
no file '/usr/share/lua/5.1/xml/init.lua'
no file '/usr/lib64/lua/5.1/xml.lua'
no file '/usr/lib64/lua/5.1/xml/init.lua'
no file '/usr/share/lua/5.1/xml.lua'
no file '/usr/share/lua/5.1/xml/init.lua'
no file './xml.so'
no file '/usr/lib64/lua/5.1/xml.so'
no file '/usr/lib64/lua/5.1/xml.so'
no file '/usr/lib64/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
LaunchInstall.lua:10: in main chunk
[C]: ?
|
Corresponding line is:
Code: | local xml = require("xml") |
I wouldn't have expected this to be a problem. However, the files like xml.lua, init.lua etc. actually don't exist.
Any idea why this is so and what lua packages I might need to merge to get them? _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30837 Location: here
|
Posted: Thu Dec 01, 2016 7:47 am Post subject: |
|
|
You probably need
Code: | $ eix luaexpat
* dev-lua/luaexpat
Available versions: 1.2.0-r1 ~1.3.0 1.3.0-r1 {ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
Homepage: http://www.keplerproject.org/luaexpat/
Description: LuaExpat is a SAX XML parser based on the Expat library |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|