That fixed that error. Thank you.
On Fri, Jan 25, 2013 at 2:04 AM, Uli Schlachter <[email protected]> wrote: > Hi, > > On 25.01.2013 05:57, Kyle Nolan wrote: > > I am having trouble loading a module with 3.5. The module itself depends > on > > a program written for lua 5.1 but awesome keeps looking in 5.2 > directories. > > Is there anyway to fix that? > > Well, which lua version does awesome run with? You can find out like this: > > $ echo return _VERSION | awesome-client > string "Lua 5.1" > > If you built awesome for lua 5.2, then it will only look in lua 5.2's > directories. This is nothing that awesome does, but lua's behavior. > > If you want to influence lua's search path, you can mess with the LUA_PATH > environment variable: > > http://www.lua.org/pil/8.1.html > > Alternatively, you can set the lua variable package.path directly in your > rc.lua. I don't know what the default value of this variable is, but you > can > easily find out with: > > $ echo return package.path | awesome-client > string > > "/home/psychon/projects/awesome/build/lib/?.lua;/home/psychon/projects/awesome/build/lib/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/home/psychon/.config/awesome/?.lua;/home/psychon/.config/awesome/?/init.lua;/etc/xdg/awesome/?.lua;/etc/xdg/awesome/?/init.lua;/usr/local/share/awesome/lib/?.lua;/usr/local/share/awesome/lib/?/init.lua" > > Uli > -- > "Every once in a while, declare peace. It confuses the hell out of your > enemies" > - 79th Rule of Acquisition > > -- > To unsubscribe, send mail to [email protected]. > -- Kyle Nolan
