Hi again,
Thanks for your feedback. I believe I might have been able to correct the
issues.
> Add sources.dir="inspect.lua" to the rock (I assume the other one has the
same problem).
After some testing, I believe the option is "source.dir", not "sources.dir"
(the docs seem to have a typo there).
Now that I have understood how this works, I believe I can tie this with
github's automatic generation of tar.gzs for each new tag, so I don't have
to generate + upload them manually each time.
I believe these (version-updated) rockspecs should work. They have no
external dependencies, so feel free to try them.
i18n 0.9-2:
https://raw.github.com/kikito/i18n.lua/master/i18n-0.9-2.rockspec
inspect 1.2-2:
https://raw.github.com/kikito/inspect.lua/master/inspect-1.2-2.rockspec
> LuaRocks supports building directly from a rockspec, so you can test them
locally before submitting:
>
> luarocks build ./inspect-1.2-1.rockspec
I didn't know that, thanks!
> 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,
It is I who should apologize. I should have read the existing documentation
more carefully. I'm sorry for any inconveniences *my* slip has caused. I am
grateful for your work.
Let me know how it goes this time!
Enrique
On Mon, Nov 5, 2012 at 10:24 AM, Enrique Garcia Cota <kik...@gmail.com>wrote:
> Hello there,
>
> I'm afraid I must have done something wrong while packing inspect & the
> latest version of i18n.
>
> I'm getting the same error when installing any of them:
>
> $ luarocks
>
> LuaRocks 2.0.10, a module deployment system for Lua
>
> $ luarocks install inspect
>
> Installing http://luarocks.org/repositories/rocks/inspect-1.2-1.src.rock.
> ..
> Using http://luarocks.org/repositories/rocks/inspect-1.2-1.src.rock...
> switching to 'build' mode
> Archive:
> /private/tmp/luarocks_luarocks-rock-inspect-1.2-1-8435/inspect-1.2-1.src.rock
> inflating: inspect-1.2-1.rockspec
> extracting: inspect-1.2.tar.gz
> stat: inspect.lua: stat: No such file or directory
>
> Error: Build error: Failed installing inspect.lua in
> /usr/local/lib/luarocks/rocks/inspect/1.2-1/lua
>
> $ luarocks install i18n
> Installing http://luarocks.org/repositories/rocks/i18n-0.9-1.src.rock...
> Using http://luarocks.org/repositories/rocks/i18n-0.9-1.src.rock...
> switching to 'build' mode
> Archive:
> /private/tmp/luarocks_luarocks-rock-i18n-0.9-1-972/i18n-0.9-1.src.rock
> inflating: i18n-0.9-1.rockspec
> extracting: i18n-0.9.tar.gz
> stat: i18n/variants.lua: stat: No such file or directory
>
> Error: Build error: Failed installing i18n/variants.lua in
> /usr/local/lib/luarocks/rocks/i18n/0.9-1/lua/i18n
>
> How can I fix them?
>
> Thanks a lot,
>
> Enrique
>
>
------------------------------------------------------------------------------
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