[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaRocks 2.2.0
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sun, 24 Aug 2014 14:34:36 +0200
2014-08-15 20:03 GMT+02:00 Hisham <h@hisham.hm>:
> http://luarocks.org/releases/luarocks-2.2.0.tar.gz
> http://luarocks.org/releases/luarocks-2.2.0-win32.zip
>
> Those of you who installed LuaRocks 2.1.0 or later by using "make bootstrap" on
> Unix may upgrade by simply running:
>
> luarocks install luarocks
When I did that, I got:
sudo luarocks install luarocks
Installing http://rocks.moonscript.org/luarocks-2.1.2-1.src.rock...
Using http://rocks.moonscript.org/luarocks-2.1.2-1.src.rock...
switching to 'build' mode
Warning: /usr/local/bin/luarocks is not tracked by this installation
of LuaRocks. Moving it to /usr/local/bin/luarocks~
Warning: /usr/local/bin/luarocks-admin is not tracked by this
installation of LuaRocks. Moving it to /usr/local/bin/luarocks-admin~
Warning: /usr/local/share/lua/5.3/luarocks/purge.lua is not tracked by
this installation of LuaRocks. Moving it to
/usr/local/share/lua/5.3/luarocks/purge.lua~
...
[Pages and pages of the same sort of stuff]
Updating manifest for /usr/local/lib/luarocks/rocks
luarocks 2.1.2-1 is now built and installed in /usr/local (license: MIT/X11)
However, the luarocks thus built will not run.
$ sudo luarocks install lpeg
/home/dirk/bin/lua53: /usr/local/share/lua/5.3/luarocks/loader.lua:12:
attempt to call a nil value (global 'module')
stack traceback:
/usr/local/share/lua/5.3/luarocks/loader.lua:12: in main chunk
[C]: in function 'require'
/usr/local/lib/luarocks/rocks/luarocks/2.1.2-1/bin/luarocks:3: in main chunk
[C]: in ?
So I did the luarocks bootstrap again: "./configure" and "sudo
luarocks bootstrap".
The latter gives me exactly the same messages as above, but at least the newly
built luarocks runs.