lua-users home
lua-l archive

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

> -----Original Message-----
> From: [] On
> Behalf Of Jose Torre-Bueno
> Sent: vrijdag 15 november 2013 8:31
> To: Lua mailing list
> Subject: Re: Problem with Luasocket (or maybe with file paths?)
> On Nov 14, 2013, at 10:57 PM, Thijs Schreijer <>
> wrote:
> >
> > I use the attached rockspec (by Steve Donovan) to build LuaSocket with
> LuaRocks. This rockspec uses the LR 'builtin' backend instead of the make
> file. I couldn't use the makefile because MinGW is not supported by it,
> and this rockspec should work on all platforms I guess.
> >
> By all platforms do you mean that it might work in 5.2? I have seen
> contradictory information on that.

No, that would be Lua versions, platforms would be unix, osx, windows, etc. For Lua 5.2 there is an 3.0 RC1 version see the LuaSocket github repo [1]

> Am I correct that to use a local rocspec I enter "luarocks build
> luasocket-2.0.2-6.rockspec"  ? (assuming the rocspec is in the working
> directory)

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)


PS. Didn't check the 3.0 repo, but I think that one has a rockspec using the LR 'builtin' backend instead of makefiles