[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Problem with Luasocket (or maybe with file paths?)
- From: Thijs Schreijer <thijs@...>
- Date: Fri, 15 Nov 2013 09:04:03 +0000
> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Jose Torre-Bueno
> Sent: vrijdag 15 november 2013 9:06
> To: Lua mailing list
> Subject: Re: Problem with Luasocket (or maybe with file paths?)
>
>
> On Nov 14, 2013, at 11:48 PM, Thijs Schreijer <thijs@thijsschreijer.nl>
> wrote:
> >
> > Drop the rockspec next to the makefile. I think the LR command would be
> either 'make' or 'build'.
> > (debugging some LR stuff, so my current LR install is broken and I can't
> test it)
> >
> To make sure I am understanding this are these the correct steps?
> Download luasocket from https://github.com/diegonehab/luasocket as a zip
For 5.1 download from LuaRocks repo;
http://www.luarocks.org/repositories/rocks/luasocket-2.0.2-5.src.rock
The .rock file is a zip archive that you can unpack
> unzip it in a directory (where should this directory be?)
Any temporary location
> place luasocket-2.0.2-6.rockspec in the same directory
Replace the existing rockspec with the one I sent
> run luarocks build luasocket-2.0.2-6.rockspec
Or 'make' instead of build... not sure about that one
>
> I take it this will build from the local file susing the instructions in
> the rocspec
Yes
>
> I appreciate your advice BTW
>
> > Thijs
> >
> > PS. Didn't check the 3.0 repo, but I think that one has a rockspec using
> the LR 'builtin' backend instead of makefiles
> >
> > [1] https://github.com/diegonehab/luasocket
> >
> >
>