Lua, Mudlet and Arch Linux

Post Reply
Iktomi
Posts: 46
Joined: Sat Sep 03, 2011 4:00 am

Lua, Mudlet and Arch Linux

Post by Iktomi »

Hello everyone, I've got (what I think is) the latest version of Mudlet downloaded. It says it's a version 3.0.1-rc2

When I load up mudlet I get this message:

[ ERROR ] - Cannot find Lua module rex_pcre.
Some functions may not be available.
Lua error:error loading module 'rex_pcre' from file '/usr/lib/lua/5.
1/rex_pcre.so':
/usr/lib/lua/5.1/rex_pcre.so: undefined symbol:
luaL_setfuncs
[ OK ] - Lua module zip loaded.
[ OK ] - Lua module lfs loaded
[ OK ] - Lua module sqlite3 loaded
[ ERROR ] - LuaGlobal.lua compile error - please report!
Error from Lua: cannot open ../src/mudlet-lua/lua/LuaGlobal.lua: No
such file or directory


I'm playing Achaea, and I have the Svo packages installed, but they're not even loading. I can't use the mapper functions such as 'rf' or anything.

Any ideas on how much I might resolve this issue?

fetaera
Posts: 191
Joined: Sat Aug 03, 2013 7:00 pm

Re: Lua, Mudlet and Arch Linux

Post by fetaera »

Seems somebody missed a step. grab this: https://github.com/vadi2/mudlet-lua and cp the folder over to the install dir.

Iktomi
Posts: 46
Joined: Sat Sep 03, 2011 4:00 am

Re: Lua, Mudlet and Arch Linux

Post by Iktomi »

I'm sorry, I'm not that experienced working with github.. how would I get that code?

EDIT:nevermind, figured it out!

Iktomi
Posts: 46
Joined: Sat Sep 03, 2011 4:00 am

Re: Lua, Mudlet and Arch Linux

Post by Iktomi »

I'm not sure where the install directory is though...

If you mean /usr/share/mudlet I've tried putting the file there with no change.

xabre
Posts: 45
Joined: Thu Mar 08, 2012 7:19 pm

Re: Lua, Mudlet and Arch Linux

Post by xabre »

There was as PKGBUILD in AUR comments for mudlet-git which uses the latest git sources. Have to note that for me it acted really strange (had missing half of the line when copying to minconsole and such).
Also now that I know which distro are you using, I know why generic instaler won't work for you. Will write about it in that previous thread.

Iktomi
Posts: 46
Joined: Sat Sep 03, 2011 4:00 am

Re: Lua, Mudlet and Arch Linux

Post by Iktomi »

That's the PKGBUILD I used actually. Love that it's a later version, but the older mudlet-git, even though it won't list room names when you do 'rf,' at least loads svo.

Knute
Posts: 87
Joined: Fri Mar 05, 2010 12:08 am

Re: Lua, Mudlet and Arch Linux

Post by Knute »

I had that problem myself. What you need to do is to install lrexlib-pcre5.1, rather than lrexlib-pcre; which is for 5.2, and mudlet doesn't use 5.2.
--
Knute

Post Reply