Hi list,

I found a problem in using 'luarocks'.

OS : Ubuntu 12.04
Arch : x86

lua : lua-5.1.5
luarocks : git cloned
  git remote origin : https://github.com/keplerproject/luarocks.git
  branch : master
  last commit message : e11e2f8 - (6 hours ago) Merge branch 'master' of
github.com:keplerproject/luarocks - Hisham Muhammad
  HEAD is at e11e2f8

I cloned luarocks above and 'configure' and 'make build' then 'make install'

./configure --prefix=/home/hum/rootfs_orbit
--rocks-tree=/home/hum/rootfs_orbit
--with-lua-include=/home/hum/rootfs_orbit/include
--with-lua-lib=/home/hum/rootfs_orbit/lib

make build
make install

Then when I invoke luarocks with no options there appear error message
below :

/home/hum/rootfs_orbit/bin/lua: /home/hum/rootfs_orbit/bin/luarocks:23:
> module 'luarocks.write_rockspec' not found:
> no field package.preload['luarocks.write_rockspec']
> no file '/home/hum/rootfs_orbit/share/lua/5.1/luarocks/write_rockspec.lua'
> no file
> '/home/hum/rootfs_orbit/share/lua/5.1/luarocks/write_rockspec/init.lua'
> no file '/home/hum/.luarocks/share/lua/5.1/luarocks/write_rockspec.lua'
> no file
> '/home/hum/.luarocks/share/lua/5.1/luarocks/write_rockspec/init.lua'
> no file '/home/hum/rootfs_orbit/share/lua/5.1//luarocks/write_rockspec.lua'
> no file
> '/home/hum/rootfs_orbit/share/lua/5.1//luarocks/write_rockspec/init.lua'
> no file './luarocks/write_rockspec.lua'
> no file '/home/hum/rootfs_orbit/share/lua/5.1/luarocks/write_rockspec.lua'
> no file
> '/home/hum/rootfs_orbit/share/lua/5.1/luarocks/write_rockspec/init.lua'
> no file '/home/hum/rootfs_orbit/lib/lua/5.1/luarocks/write_rockspec.lua'
> no file
> '/home/hum/rootfs_orbit/lib/lua/5.1/luarocks/write_rockspec/init.lua'
> no file '/home/hum/rootfs_orbit/lib/lua/5.1/luarocks/write_rockspec.so'
> no file '/home/hum/.luarocks/lib/lua/5.1/luarocks/write_rockspec.so'
> no file './luarocks/write_rockspec.so'
> no file '/home/hum/rootfs_orbit/lib/lua/5.1/luarocks/write_rockspec.so'
> no file '/home/hum/rootfs_orbit/lib/lua/5.1/loadall.so'
> no file '/home/hum/rootfs_orbit/lib/lua/5.1/luarocks.so'
> no file '/home/hum/.luarocks/lib/lua/5.1/luarocks.so'
> no file './luarocks.so'
> no file '/home/hum/rootfs_orbit/lib/lua/5.1/luarocks.so'
> no file '/home/hum/rootfs_orbit/lib/lua/5.1/loadall.so'
> stack traceback:
> [C]: in function 'require'
> /home/hum/rootfs_orbit/bin/luarocks:23: in main chunk
> [C]: ?


So I tested the latest git label, which is 'v2.1.0'. And found with this
version luarocks works with no problem.

Is the latest master branch is supposed to be unstable?

I don't know abut this policy but just want to report.

Thank you very much.

Journeyer J. Joh
Sincerely



----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to