lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi, Norman,

To load packages installed by LuaRocks you need to require "luarocks.require" first. And yes, you can copy profiler.so to the Lua search path and it should work fine.

--
Fabio Mascarenhas

On Mon, May 19, 2008 at 6:59 PM, Norman Ramsey <nr@eecs.harvard.edu> wrote:
I think this is probably a luarocks problem, but I did

download and install luarocks with defaults

luarocks install luaprofiler

and the profiler.so gets installed in some weird luarocks
place where 'require' can't find it.

I hope I can just copy profiler.so into /usr/local/lib/lua/5.1
and all will be well...


I'm cc-ing Lua-L since I don't know how else to reach the rocks people.


Norman

P.S. Packagers and writers of configure scripts might want to keep in
mind that installations may have multiple versions of Lua installed
at once.  I have some lua40 scripts that I probably will never upgrade,
because they just work.