On 11 October 2015 at 09:20, Eduardo Ochs <eduardoo...@gmail.com> wrote:
> One thing that I find very frustrating about luarocks is that I've
> never managed to learn how to run it more verbosely... for example, if
> I run this from from a shell,
>
>   sudo luarocks remove lpeg
>   sudo luarocks install lpeg
>
> then the output shows how to build lpeg without luarocks - something
> like:
>
>   Installing http://luarocks.org/repositories/rocks/lpeg-1.0.0-1.src.rock...
>   Using http://luarocks.org/repositories/rocks/lpeg-1.0.0-1.src.rock...
> switching to 'build' mode
>   Archive:  
> /tmp/luarocks_luarocks-rock-lpeg-1.0.0-1-1133/lpeg-1.0.0-1.src.rock
>     inflating: lpeg-1.0.0-1.rockspec
>     inflating: lpeg-1.0.0.tar.gz
>   gcc -O2 -fPIC -I/usr/include/lua5.1 -c lpcap.c -o lpcap.o
>   gcc -O2 -fPIC -I/usr/include/lua5.1 -c lpcode.c -o lpcode.o
>   gcc -O2 -fPIC -I/usr/include/lua5.1 -c lpprint.c -o lpprint.o
>   gcc -O2 -fPIC -I/usr/include/lua5.1 -c lptree.c -o lptree.o
>   gcc -O2 -fPIC -I/usr/include/lua5.1 -c lpvm.c -o lpvm.o
>   gcc -shared -o lpeg.so -L/usr/local/lib lpcap.o lpcode.o lpprint.o
> lptree.o lpvm.o
>   Updating manifest for /usr/local/lib/luarocks/rocks
>
>   lpeg 1.0.0-1 is now built and installed in /usr/local/ (license: MIT/X11)
>
> but I would like to make that output even more verbose, showing the
> "chdir"s, the calls to tar and unzip, and the "cp"s - and, ideally,
> but that may be much harder, to have a way to make luarocks run like
> "make -n", showing the commands that it would run, but without running
> them...
>
> Any help or hints would be VERY appreciated. I understand very little
> of the sources right now...

Pass --version *before* the subcommand. e.g.

sudo luarocks --verbose install lpeg

------------------------------------------------------------------------------
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to