lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


By any chance do you have files called "manifest-5.1" or
"manifest-5.2" in your /home/spc/.luarocks/lib/luarocks/rocks
directory? If so, delete them (there should be only a file called
"manifest" there).

Let me know if this helps.

-- Hisham

On 15 October 2013 16:04, Sean Conner <sean@conman.org> wrote:
>
> Using version 2.1.0 of LuaRocks:
>
>         [spc]lucy:~>luarocks install luaxml
>         Installing http://luarocks.org/repositories/rocks/luaxml-101012-1.src.rock...
>         Using http://luarocks.org/repositories/rocks/luaxml-101012-1.src.rock... switching to 'build' mode
>         Archive:  LuaXML_101012.zip
>           inflating: lua51.dll
>           inflating: lua.exe
>           inflating: LuaXml.cdr
>           inflating: LuaXML_lib.c
>           inflating: LuaXML_lib.dll
>           inflating: LuaXML_lib.so
>           inflating: LuaXml.lua
>          extracting: LuaXml.png
>           inflating: Makefile
>           inflating: readme.txt
>           inflating: test.lua
>           inflating: test.xml
>         gcc -O2 -fPIC -I/usr/local/include -c LuaXML_lib.c -o LuaXML_lib.o
>         gcc -shared -o LuaXML_lib.so -L/usr/local/lib LuaXML_lib.o
>         Updating manifest for /home/spc/.luarocks//lib/luarocks/rocks
>
>         luaxml 101012-1 is now built and installed in /home/spc/.luarocks/ (license: MIT/X11)
>
> Okay, so now I should have luaxml installed, right?
>
>         [spc]lucy:~>luarocks list
>
>         Installed rocks:
>         ----------------
>
>         lpack
>            20070629-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         lpeg
>            0.12-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luabitop
>            1.0.2-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luafilesystem
>            1.6.2-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luasec
>            0.4.1-2 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luasocket
>            2.0.2-5 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.cc
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.dns
>            1.0.5-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.iconv
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.nacl
>            0.9.0-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.parsers.ini
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.parsers.json
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.tcc
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.uuid
>            1.2.0-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
> It's not listed.  If I go back to 2.0.13 though:
>
>         [spc]lucy:~/apps/luarocks>luarocks list
>
>         Installed rocks:
>         ----------------
>
>         lpack
>            20070629-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         lpeg
>            0.12-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luabitop
>            1.0.2-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luafilesystem
>            1.6.2-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luasec
>            0.4.1-2 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luasocket
>            2.0.2-5 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         luaxml
>            101012-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.cc
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.dns
>            1.0.5-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.iconv
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.nacl
>            0.9.0-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.parsers.ini
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.parsers.json
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.tcc
>            1.0.0-0 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
>         org.conman.uuid
>            1.2.0-1 (installed) - /home/spc/.luarocks//lib/luarocks/rocks
>
> It is listed.
>
>   -spc (tested with commit 88c6b1010984ea0596089858865cca55876e55c3, which shows the broken behavior)
>