On 4 June 2013 03:32, Alexey Melnichuk <[email protected]> wrote:
> I trying build rock file
> For example for ODBC library.
> I run
> `luarocks install aesfileencrypt`
> This load and install module from `luarocks.org`
> `luarocks pack aesfileencrypt`

Strange. `luarocks pack aesfileencrypt` should have generated a .rock
file containing all necessary info:

]luarocks pack lpeg 0.12-1
  adding: lib/ (stored 0%)
  adding: lib/lpeg.so (deflated 53%)
  adding: lpeg-0.12-1.rockspec (deflated 45%)
  adding: lua/ (stored 0%)
  adding: lua/re.lua (deflated 64%)
  adding: rock_manifest (deflated 29%)
Packed: /Users/hisham/luarocks/src/lpeg-0.12-1.linux-x86.rock

Checking the contents:

]unzip -t lpeg-0.12-1.linux-x86.rock
Archive:  lpeg-0.12-1.linux-x86.rock
    testing: lib/                     OK
    testing: lib/lpeg.so              OK
    testing: lpeg-0.12-1.rockspec     OK
    testing: lua/                     OK
    testing: lua/re.lua               OK
    testing: rock_manifest            OK
No errors detected in compressed data of lpeg-0.12-1.linux-x86.rock.

> I got this file:
> http://rocks.moonscript.org/manifests/moteus/aesfileencrypt-0.1.0-1.win32-x86.rock
> But this file has no rockspec file nor tests files.
> And when i try install i got
>   Error: Failed loading rockspec for installed package:
>   File not found: g:\lua\LuaRocks\rocks//lib/luarocks/rocks/aesfileencrypt
>   /0.1.0-1/aesfileencrypt-0.1.0-1.rockspec
>
> Also. How i can provide rock files for my modules for Lua 5.1 and Lua 5.2?

For binary rocks one needs separate rocks servers nowadays.

> PS. I use `luarocks 2.0.13` But this version is not present as release on
> http://www.luarocks.org/en/Download or
> https://github.com/keplerproject/luarocks/tags

Ouch! Looks like I announced it in the mailing lists and forgot to
update the website. I'll fix it!

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to