It was thus said that the Great Sean Conner once stated:
> 
>   I saw the announcement of LuaRocks 2.2.0-2.  I tried updating (using
> "luarocks install luarocks") and the short version of it---I ended up having
> to nuke *just about everything* 

  Blah blah blah [snip]

  Okay, I think I see the problem here.

  I have the latest verion via git:

[spc]lucy:~/apps/luarocks>git log
commit 650c8ae9e8096bbb8f70ad8e0764e91d47dfae86
Author: Hisham Muhammad <his...@gobolinux.org>
Date:   Tue Mar 17 15:54:06 2015 -0300

    Back to our regularly scheduled programming

commit 8649a4e18181ec342890a041f5ba9625b0d481d4
Author: Hisham Muhammad <his...@gobolinux.org>
Date:   Tue Mar 17 15:51:28 2015 -0300

    Release LuaRocks 2.2.1


I did the "make bootstrap" as root, and everything was install into
/usr/local/.  Now, I install all the LuaRocks into a local tree,
$HOME/.luarocks.  Wanting to maintain LuaRocks via LuaRocks, I then do a
"luarocks install luarocks" as myself (non-root).  And yes, it's installed:

[spc]lucy:~/.luarocks>luarocks list

Installed rocks:
----------------

ansicolors
   1.0.2-3 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

lbase64
   20120820-1 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

lpeg
   0.12.2-1 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

lua-cjson
   2.1.0-1 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

luacrypto
   0.3.2-1 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

luafilesystem
   1.6.3-1 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

luarocks
   2.2.0-2 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

luasec
   0.5-2 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

luasocket
   3.0rc1-2 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

moonrocks
   1.0.0-1 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

oauth
   0.0.6-1 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

penlight
   1.3.2-2 (installed) - /home/spc/.luarocks/lib/luarocks/rocks

(along with some other rocks I've since reinstalled since my last outburst).  

Not wanting to have two copies of LuaRocks installed, one in /usr/local and
one in $HOME/.luarocks, I removed /usr/local/share/lua/5.1/luarocks (well,
renamed temporarily), and now:

[spc]lucy:~/.luarocks>luarocks
Site-local luarocks/site_config.lua file not found. Incomplete installation?

LuaRocks 2.2.0, a module deployment system for Lua

NAME
        /usr/local/lib/luarocks/rocks/luarocks/scm-1/bin/luarocks - LuaRocks 
main command-line interface

SYNOPSIS
        /usr/local/lib/luarocks/rocks/luarocks/scm-1/bin/luarocks 
[--from=<server> | --only-from=<server>] [--to=<tree>] [VAR=VALUE]... <command> 
[<argument>] 

        ...

So it appears that not everything is actually copied over properly.

  -spc


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to