[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Where to find luasocket (preferably binaries) for Lua 5.1.5
- From: Paul K <paulclinger@...>
- Date: Sat, 18 May 2013 15:17:21 -0700
> Just one quirk: socket._VERSION returns 2.0.2 instead of 2.0.3.
> A typo in the source?
No, the current binaries are for luasocket 2.0.2. I tested 2.0.3
locally after I updated the build scripts, but haven't checked in the
new binaries. I'll probably wait for the next release to update the
binaries as 2.0.2 works well for me.
Paul.
On Sat, May 18, 2013 at 1:57 PM, Lorenzo Donati
<lorenzodonatibz@tiscali.it> wrote:
> On 18/05/2013 22.04, Paul K wrote:
>>
>> Hi Lorenzo,
>>
>>> unfortunately I have no bash nor any kind of *NIX environment available
>>> (I just double checked and realized I typed TDM-mingw instead of TDM-GCC -
>>> my bad, sorry for the misunderstanding).
>>
>>
>> Right; I assumed you have mingw that usually comes with bash and
>> similar tools that run on Windows. You actually don't need to have
>> that as you can download and unzip sources manually and then just run
>> gcc commands you see in the shell script.
>>
>>> BTW, is zerobranestudio distributed in binary form?
>>
>>
>> Yes, you can get Windows binaries here:
>> https://github.com/pkulchenko/ZeroBraneStudio/tree/master/bin
>> (luasocket is in clibs/ subfolder).
>>
>>> If it is, maybe I may try to reuse the included dll
>>
>>
>> You should be able to. I've tried with various lua environments on
>> windows and it worked without problems. The dlls are compiled against
>> lua51.dll.
>>
>> Paul.
>>
>
> It works, at least with the following basic test, thanks!!!
>
> local socket = require 'socket'
> print( socket._VERSION )
>
> local http = require("socket.http")
> print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket"))
>
> Just one quirk: socket._VERSION returns 2.0.2 instead of 2.0.3.
> A typo in the source?
>
>
> -- Lorenzo
>
>
>
>
>
>
>