2008-12-30 20:32 |
agladysh
Alexander Gladysh <agladysh at gmail.com>
Hi, list!
I'm trying to install Sputnik 8.08.13 on my Ubuntu box as per this guide:
http://sputnik.freewisdom.org/en/Installation
This step fails:
$ ./bin/lua -lluarocks.require -e 'require("sputnik").setup()'
Stack traceback below. Note how it looks for 1.4.0-1, and I have
1.4.1-1 installed by rocks.
/opt/sputnik$ ls rocks/luafilesystem/
1.4.1-1
I've used rocks command from the mentioned wiki page:
$ ./bin/luarocks --only-from=http://sputnik.freewisdom.org/rocks/earth
install sputnik 8.08.13
Traceback from require("sputnik").setup():
./bin/lua: /opt/sputnik/share/lua/5.1/luarocks/require.lua:141: module
'lfs' not found:
no field package.preload['lfs']
no file '/opt/sputnik/rocks//luafilesystem/1.4.0-1/lua/lfs.lua'
no file '/opt/sputnik/rocks//luafilesystem/1.4.0-1/lua/lfs/init.lua'
no file '/opt/sputnik/rocks//sputnik/8.08.13-0/lua/lfs.lua'
no file '/opt/sputnik/rocks//sputnik/8.08.13-0/lua/lfs/init.lua'
no file './lfs.lua'
no file '/opt/sputnik/share/lua/5.1/lfs.lua'
no file '/opt/sputnik/share/lua/5.1/lfs/init.lua'
no file '/opt/sputnik/lib/lua/5.1/lfs.lua'
no file '/opt/sputnik/lib/lua/5.1/lfs/init.lua'
no file '/opt/sputnik/rocks//luafilesystem/1.4.0-1/lib/lfs.so'
no file '/opt/sputnik/rocks//sputnik/8.08.13-0/lib/lfs.so'
no file './lfs.so'
no file '/opt/sputnik/lib/lua/5.1/lfs.so'
no file '/opt/sputnik/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'plain_require'
/opt/sputnik/share/lua/5.1/luarocks/require.lua:141: in function
</opt/sputnik/share/lua/5.1/luarocks/require.lua:130>
(tail call): ?
...k/rocks//sputnik/8.08.13-0/lua/sputnik/installer.lua:3: in main chunk
[C]: in function 'plain_require'
/opt/sputnik/share/lua/5.1/luarocks/require.lua:141: in function
</opt/sputnik/share/lua/5.1/luarocks/require.lua:130>
(tail call): ?
...putnik/rocks//sputnik/8.08.13-0/lua/sputnik/init.lua:49: in function 'setup'
(command line):1: in main chunk
[C]: ?
Alexander.