https://bugzilla.novell.com/show_bug.cgi?id=785466 https://bugzilla.novell.com/show_bug.cgi?id=785466#c0 Summary: lua 5.2: senseless default module directories Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ke@suse.com QAContact: qa-bugs@suse.de CC: pgajdos@suse.com Found By: Documentation Blocker: --- Maybe, I'm wrong (I'm new to lua)... It does not make sense where lua 5.2 looks for modules on my system:
require "lxp" stdin:1: module 'lxp' not found: no field package.preload['lxp'] no file '/usrshare/lua/5.2/lxp.lua' no file '/usrshare/lua/5.2/lxp/init.lua' no file '/usrlib/lua/5.2/lxp.lua' no file '/usrlib/lua/5.2/lxp/init.lua' no file './lxp.lua' no file '/usrlib/lua/5.2/lxp.so' no file '/usrlib/lua/5.2/loadall.so' no file './lxp.so' stack traceback: [C]: in function 'require' stdin:1: in main chunk [C]: in ? Ctrl-D
At least, it probably should look in "/usr/share/..." instead of "/usrshare/..." etc. And instead of /usr/lib I'd expect it to look in /usr/lib64 first on my x86_64 system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.