Public bug reported:
Binary package hint: luarocks
[seria...@small-drake]:~$
lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
Luarocks seems to be installed in a directory which is not scanned by lua using
require "packagename" (i.e. '/usr/share' instead of '/usr/local/share')
Using lua5.1 and luarocks (luarocks depend on lua5.1)
[seria...@small-drake]:~
apt-cache policy lua5.1
lua5.1:
Installed: 5.1.3-1
Candidate: 5.1.3-1
Version table:
*** 5.1.3-1 0
500 http://fr.archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
[seria...@small-drake]:~$
apt-cache policy luarocks
luarocks:
Installed: 0.6.0.2-1
Candidate: 0.6.0.2-1
Version table:
*** 0.6.0.2-1 0
500 http://fr.archive.ubuntu.com intrepid/universe Packages
100 /var/lib/dpkg/status
Then loading luarocks within the command-line tool.
[seria...@small-drake]:~$
lua -lluarocks.require
lua: module 'luarocks.require' not found:
no field package.preload['luarocks.require']
no file './luarocks/require.lua'
no file '/usr/local/share/lua/5.1/luarocks/require.lua'
no file '/usr/local/share/lua/5.1/luarocks/require/init.lua'
no file '/usr/local/lib/lua/5.1/luarocks/require.lua'
no file '/usr/local/lib/lua/5.1/luarocks/require/init.lua'
no file './luarocks/require.so'
no file '/usr/local/lib/lua/5.1/luarocks/require.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './luarocks.so'
no file '/usr/local/lib/lua/5.1/luarocks.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: ?
[C]: ?
Lua is searching in '/usr/local/share/lua/5.1/luarocks/require.lua', but
luarocks is found elsewhere.
[seria...@small-drake]:~$
locate luarocks/require.lua
/usr/share/lua/5.1/luarocks/require.lua
** Affects: luarocks (Ubuntu)
Importance: Undecided
Status: New
--
Wrong target dir
https://bugs.launchpad.net/bugs/319646
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs