On Wed, Jul 14, 2010 at 2:34 PM, Thijs Koerselman <thijskoersel...@gmail.com> wrote: >> >> Ah, sorry about that, that's what I get for not fully reading your >> original message. Without a full error message in your apache log it's >> a bit hard to tell what's going wrong. When luarocks reports that it's >> unable to find a module, it gives you a full listing of the paths that >> were searched and that would give you a better indication of what's >> going on. >> > > No problem. Here's the full apache log. The only thing I find strange > is that it is mentioning plain_require, since the module searched for > should be found in the rocks repository...
Luarocks always falls back to the stock 'require' function if it is unable to find the file. What is the full path to where your wsapi/common.lua file is on your system? > [Wed Jul 14 14:05:06 2010] [error] [client ::1] /usr/local/bin/lua: > /usr/local/share/lua/5.1/luarocks/require.lua:250: module > 'wsapi.common' not found: > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno field > package.preload['wsapi.common'] > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/share/lua/5.1/wsapi/common.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/etc/luarocks/wsapi/common.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/Users/thijskoerselman/Documents/Projects/IM3I/svn/bintje/audiomodule/luamodules/wsapi/common.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file './wsapi/common.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/share/lua/5.1/wsapi/common.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/share/lua/5.1/wsapi/common/init.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/lib/lua/5.1/wsapi/common.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/lib/lua/5.1/wsapi/common/init.lua' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file './wsapi/common.so' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/lib/lua/5.1/wsapi/common.so' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/lib/lua/5.1/loadall.so' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file './wsapi.so' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/lib/lua/5.1/wsapi.so' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \tno file > '/usr/local/lib/lua/5.1/loadall.so' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] stack traceback: > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \t[C]: in function > 'plain_require' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] > \t/usr/local/share/lua/5.1/luarocks/require.lua:250: in function > 'require' > [Wed Jul 14 14:05:06 2010] [error] [client ::1] > \t...rselman/.luarocks//rocks/wsapi/1.3.4-1/bin/wsapi.cgi:9: in main > chunk > [Wed Jul 14 14:05:06 2010] [error] [client ::1] \t[C]: ? > [Wed Jul 14 14:05:06 2010] [error] [client ::1] Premature end of > script headers: hello.lua > > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/