lua-users home
lua-l archive

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

Yes. But you're also up against some more trouble.

The rockspec doesn't work on Windows. There is one that does, in some branch (on mobile, so no links, sorry about that). But that one doesn't work with the branch it is in (or maybe this last issue is only for mingw)

So compile openssl.
Download the last luasec release and unpack it.
Fetch development rockspec and add to root of unpacked luasec.
Then run 'luarocks make' in the root.


Op 18 mei 2015 14:48 schreef Milind <>:
I am doing this in windows. Do I need to compile openssl first? 


Sent from my T-Mobile 4G LTE Device

-------- Original message --------
From: Daurnimator <>
Date: 05/18/2015 12:22 AM (GMT-08:00)
To: Lua mailing list <>
Subject: Re: LuaSec install

On 18 May 2015 at 16:52, Milind Gupta <> wrote:
> Hi,
>         When I try to install LuaSec using Luarocks it fails saying cannot
> find openssl/ssl.h. Where can I find the install instructions.
> Thanks,
> Milind

As the error message says, you need openssl/ssl.h to compile luasec from source.
Depending on your operating system and/or distro, you may have to install it.

To guess at the most likely situation: debian and derivitives I think
the package is named 'libssl-dev'.