On 16 January 2014 09:13, Rv Rv <rvrv7...@yahoo.com> wrote:
> I need to install htmlparser (sudo install luarocks htmlparser). htmlparser
> lists the following dependencies
> "lua >= 5.2",
>   "set >= 0.2",
>   "lunitx >= 0.6"
> when I try installing lunitx0.7.1 I get this
>
> sudo luarocks install lunitx
> Installing http://luarocks.org/repositories/rocks/lunitx-0.7-1.src.rock...
> Using http://luarocks.org/repositories/rocks/lunitx-0.7-1.src.rock...
> switching to 'build' mode
>
> Error: Failed unpacking rock file:
> /tmp/luarocks_luarocks-rock-lunitx-0.7-1-8700/lunitx-0.7-1.src.rock
>
> From the
> http://blog.gmane.org/gmane.comp.lang.lua.luarocks/month=20121001
> there appeared to be a problem with lunitx and lunit for lua 5.2 / lua 5.1
> but it seems to have been fixed. I am seeing this in luarocks 2.0.8.
>
> lunit installs without any problem though.
>
> I changed to luarocks latest version 2.1.2 but am facing the similar (not
> same ) issues. Ultimately, lunitx does not get installed. Is there a way to
> install the packages by hand without going through the rockspec

What are the specific issues you had with 2.1.2? I could not reproduce
it here, htmlparser and lunitx installed with no problems:

```
] bin/luarocks install htmlparser
Installing 
http://www.luarocks.org/repositories/rocks/htmlparser-0.3.2-1.src.rock...
Using http://www.luarocks.org/repositories/rocks/htmlparser-0.3.2-1.src.rock...
switching to 'build' mode

Missing dependencies for htmlparser:
lunitx >= 0.6
set >= 0.2

Using http://www.luarocks.org/repositories/rocks/lunitx-0.7-1.src.rock...
switching to 'build' mode
Updating manifest for /Users/hisham/.luarocks/lib/luarocks/rocks-5.2
No existing manifest. Attempting to rebuild...

lunitx 0.7-1 is now built and installed in /Users/hisham/.luarocks
(license: MIT/X11)
Using http://www.luarocks.org/repositories/rocks/set-0.2.1-1.src.rock...
switching to 'build' mode
Updating manifest for /Users/hisham/.luarocks/lib/luarocks/rocks-5.2

set 0.2.1-1 is now built and installed in /Users/hisham/.luarocks
(license: LGPL+)
Updating manifest for /Users/hisham/.luarocks/lib/luarocks/rocks-5.2

htmlparser 0.3.2-1 is now built and installed in
/Users/hisham/.luarocks (license: LGPL+)
```

Please post the output with the error so we can try to diagnose it.

Thanks,
-- Hisham

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to