[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to get a webpage with Lua Socket ?
- From: Paul K <paul@...>
- Date: Tue, 24 Nov 2015 22:03:33 +0000
> This library doesnt appear to have a windows binary available. So I have to build it myself, with not very good build notes.
> I wonder if I could snag the luasec *.lua files and *.dll file I need from my Zerobrane Studio installation ? That might be a simpler solution ?
Yes, you should be able to get all the files including the binary from
this commit: https://github.com/pkulchenko/ZeroBraneStudio/commit/0d8e6b058186fb361680ed05ff8dceec5123c70c.
The DLL is no longer packaged with the IDE, but you can still get it
from the archive. Note that you still need openssl libraries installed
and referenced in PATH, but they come with many applications, like
wget, svn, and others.
Another option is to compile luasec using the build scripts from ZBS.
You'll need to pull the latest changes from the repository and then
run "(cd build; bash build-win32.sh lua luasec)". This should build
and install ssl.dll in the right place under ZBS tree (and it will
include all the dependencies) as long as you have mingw/msys or tdm
Yet another option is to try luarocks or luadist
you'd still need openssl libraries and headers though.