lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I tried the version you sent yesterday (0.41), and find some issue.
What I used is debian5.

1) Luarocks2.02 seems to not recognize "git:xx" in rockspec, even I have installed git-core.
after I upgrade to latest luarocks2.04rc2 (and apt-get install git too), it works.

2) follow the steps you describes in your blog. I make the Arc examples running.
but one issue found in "tir start".
the lpeg is needed, but I didn't install it. tir can't work and can't exit correct.
so I have to install "lpeg".

If possible, I think both things should be added to your document and make other people easy to use.
Thanks,

sagasw

------------------------------------------
blog: http://sunxiunan.com/
C++, Lua, living in Dalian
http://twitter.com/sagasw
------------------------------------------


On Sat, Dec 4, 2010 at 4:23 AM, Zed Shaw <zed.shaw@gmail.com> wrote:
On Fri, Dec 3, 2010 at 11:45 AM, Fabio Mascarenhas <mascarenhas@acm.org> wrote:
> On Fri, Dec 3, 2010 at 5:23 PM, Zed Shaw <zed.shaw@gmail.com> wrote:
>>
>> I'd say my biggest question is on the Install instructions how I can
>> get that list of install commands down to just one single luarocks
>> install line.  It seems kind of silly that I have to have people
>> curling down rockspecs manually to get at specs that are outside the
>> luarocks ecosystem.  Anyone got ideas on telling luarocks that Tir
>> depends on random URLs?
>>
>
> The easiest way to do that is to put up your own repository (copy your
> rockspecs to a directory, run "luarocks-admin make_manifest" on it,
> then upload its contents), then you can install using
> --from=url_for_your_repo. LuaRocks will try to solve any dependencies
> first with your repository and then with the regular ones.

Well, that's rather backwards don't you think?  Why should I have to
craft my own repository just to have luarocks do what it does easily
from the command ilne?  Also, I don't want to be the guy to manage a
special manifest for other people's projects.

There's gotta be something I'm over looking in luarocks that just lets
you use a URL to a rockspec as a dependency.

Zed