Am 10.08.2013 00:16 schröbte Hisham:
> Hi everyone,
Hi!
>
> [...]
>
> * 'make bootstrap' is now an advertised option for installing LuaRocks
> itself as a rock on Unix systems
`make bootstrap` errors out for me:
LUA_PATH="$PWD/src/?.lua;$LUA_PATH" src/bin/luarocks make rockspec
--tree="/home/siffiejoe/.self/programs/luarocks-2.1.0"
/usr/bin/lua5.2:
...programs/luarocks-2.0.13/share/lua/5.2/luarocks/help.lua:12: attempt
to concatenate global 'program_name' (a nil value)
stack traceback:
...programs/luarocks-2.0.13/share/lua/5.2/luarocks/help.lua:12: in
main chunk
[C]: in function 'require'
src/bin/luarocks:9: in main chunk
[C]: in ?
Here is my configure incantation:
./configure --prefix=/home/siffiejoe/.self/programs/luarocks-2.1.0
--lua-version=5.2 --lua-suffix=5.2
--with-lua-include=/usr/include/lua5.2 --versioned-rocks-dir --force-config
... but I have LUA_PATH_5_2 set!
`env --unset=LUA_PATH_5_2 make bootstrap` seems to work.
But if I then try to install luarocks for 5.1 via
./configure --prefix=/home/siffiejoe/.self/programs/luarocks-2.1.0
--lua-version=5.1 --lua-suffix=5.1
--with-lua-include=/usr/include/lua5.1 --versioned-rocks-dir --force-config
make bootstrap
I get the following error:
Error: Failed loading manifest for
/home/siffiejoe/.self/programs/luarocks-2.1.0//lib/luarocks/rocks-5.1:
cannot open
/home/siffiejoe/.self/programs/luarocks-2.1.0//lib/luarocks/rocks-5.1/manifest:
No such file or directory -- corrupted local rocks tree? Cannot install
new version.
Combined installation for 5.1 and 5.2 via `make build install` works fine.
Btw., what is the purpose of the `install_rock` target?
>
> -- Hisham
> http://hisham.hm/
>
Philipp
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers