On Mon, Nov 5, 2012 at 7:24 AM, Enrique Garcia Cota <kik...@gmail.com> wrote:
> Error: Build error: Failed installing inspect.lua in
> /usr/local/lib/luarocks/rocks/inspect/1.2-1/lua
> Error: Build error: Failed installing i18n/variants.lua in
> /usr/local/lib/luarocks/rocks/i18n/0.9-1/lua/i18n

By default LuaRocks expects the directory name inside the tarball to
match the tarball name (as in the convention).
See "Publishing your code online" from http://luarocks.org/en/Creating_a_rock

> How can I fix them?

Add sources.dir="inspect.lua" to the rock (I assume the other one has
the same problem).

LuaRocks supports building directly from a rockspec, so you can test
them locally before submitting:

   luarocks build ./inspect-1.2-1.rockspec

Please also bump the revision number.

I usually check rocks visually and pack them, but since I often don't
have the external dependencies I don't build them all myself before
uploading.

Sorry about the slip,

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to