Thanks for the response. I tried again with the following process
1. I removed luarocks 2.0.8 from the ubuntu by doing sudo apt-get
remove luarocks. This was successful.
2. Then downloaded luarock 2.1.2. configure. make . sudo make install.
All successful.
3. Then tried to install lunitx. Unsuccessful. The formatted transcript
is provided below
1 . Confirm lua version
user1@ub3:~/tmp/luarocks-2.1.2$ luarocks --v
LuaRocks 2.1.2, a module deployment system for Lua
NAME
/usr/local/bin/luarocks - LuaRocks main command-line interface
SYNOPSIS
/usr/local/bin/luarocks [--from=<server> | --only-from=<server>]
[--to=<tree>] [VAR=VALUE]... <command> [<argument>]
<SNIP>
CONFIGURATION
Lua version: 5.1
Configuration files:
System: /usr/local/etc/luarocks/config-5.1.lua (ok)
User : /home/user1/.luarocks/config.lua (not found)
Rocks trees in use:
/home/user1/.luarocks ("user")
/usr/local ("system")
2. Attempt to install lunitx
user1@ub3:~/tmp/luarocks-2.1.2$ sudo luarocks install lunitx
Installing http://www.luarocks.org/repositories/rocks/lunitx-0.7-1.src.rock...
Using http://www.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-8838/lunitx-0.7-1.src.rock
3. Feeble attempt to diagnose
user1@ub3:~/tmp/luarocks-2.1.2$ ls -l
/tmp/luarocks_luarocks-rock-lunitx-0.7-1-8838/lunitx-0.7-1.src.rock
ls: cannot access
/tmp/luarocks_luarocks-rock-lunitx-0.7-1-8838/lunitx-0.7-1.src.rock: No such
file or directory
4. System Information
user1@ub3:~/tmp/luarocks-2.1.2$ uname -a
Linux ub3 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
5. lunit installs successfully
user1@ub3:~/tmp/luarocks-2.1.2$ sudo luarocks install lunit
Installing http://www.luarocks.org/repositories/rocks/lunit-0.5-2.src.rock...
Using http://www.luarocks.org/repositories/rocks/lunit-0.5-2.src.rock...
switching to 'build' mode
Warning: /usr/local/bin/lunit is not tracked by this installation of LuaRocks.
Moving it to /usr/local/bin/lunit~
Warning: /usr/local/share/lua/5.1/lunit-console.lua is not tracked by this
installation of LuaRocks. Moving it to
/usr/local/share/lua/5.1/lunit-console.lua~
Warning: /usr/local/share/lua/5.1/lunit.lua is not tracked by this installation
of LuaRocks. Moving it to /usr/local/share/lua/5.1/lunit.lua~
Updating manifest for /usr/local/lib/luarocks/rocks
No existing manifest. Attempting to rebuild...
lunit 0.5-2 is now built and installed in /usr/local (license: MIT/X11)
On Friday, 17 January 2014 2:09 AM, Hisham <[email protected]> wrote:
On 16 January 2014 09:13, Rv Rv <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers