← Back to team overview

mudlet-makers team mailing list archive

[Bug 819648] Re: Mudlet can't find its installed LuaGlobal.lua

 

** Patch added: "Patches the sources and qmake project file to load LuaGlobal.lua from its installed location"
   https://bugs.launchpad.net/bugs/819648/+attachment/2248794/+files/mudlet-luaglobal.patch

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/819648

Title:
  Mudlet can't find its installed LuaGlobal.lua

Status in Mudlet the MUD client:
  New

Bug description:
  Mudlet 2.0-rc5 (mudlet-HEAD-24bbfa4.tar.gz)
  Fedora 14

  The Mudlet build system installs LuaGlobal.lua, but at runtime it
  tries to load a different copy, using a relative path.  This succeeds
  only if mudlet is run from the build directory or from some other
  directory that the user has specially prepared.  If run from any other
  directory, mudlet reports at startup that LuaGlobal.lua could not be
  found and some features may not be available.

  It looks like there may have been some uncertainty lately about from
  where this file ought to be loaded.  I attach a patch that loads the
  installed copy, regardless of the working directory from which mudlet
  is started.  The patched version specifies the directory for
  LuaGlobal.lua via a preprocessor symbol, so it can be changed at build
  time without further modifying the source code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/819648/+subscriptions


References