Am 26.02.2014 16:08 schröbte RJP Computing:
>
> Here is "sudo luarocks --verbose install luajson"
>
>> $ sudo luarocks --verbose install luajson
>> Installing
>> http://www.luarocks.org/repositories/rocks/luajson-1.3.2-1.src.rock...
>> Using http://www.luarocks.org/repositories/rocks/luajson-1.3.2-1.src.rock...
>> switching to 'build' mode
>> Error: Failed unpacking rock file:
>> /tmp/luarocks_luarocks-rock-luajson-1.3.2-1-3226/luajson-1.3.2-1.src.rock
>
>
> All my issues have been in Ubuntu 13.10 x64. Does any of this make sense? I
> have installed this package many, many times and it has worked. I have no
> idea what is going on.

For the record, I have successfully installed luajson-1.3.2-1 on Ubuntu 
13.10 x86_64 a few minutes ago.

The error message from above comes from `luarocks/fetch.lua:126` and 
indicates that the actual unpacking of the .src.rock file fails for some 
reason. The last problem we had with unpacking was related to 
overwriting existing files. Could you find out what value `unpack_dir` 
has before the `fs.unzip()` call, and whether there already are files in 
that location?
It would also be interesting how the unpacking is done (`fs.unpack()` 
can use LuaZip if installed or fall back to `unzip -n` or the value of 
the UNZIP config variable) ...

> --
> Regards,
> Ryan

Philipp




------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to