Hi,

libffi is not a luarock, it is a C library that alien wraps in a Lua interface.

  https://sourceware.org/libffi/

You would then need to set FFI to point at your installed libffi when you ask 
LuaRocks to build the alien rock on your machine:

  luarocks FFI=/path/to/ffi/library install alien

I say there’s a reasonable chance that one or both of libffi and alien are not 
ported to Windows.

HTH!

> On 22 Mar 2016, at 19:28, Hernan Cano <[email protected]> wrote:
> 
> Hi, friends.
> 
> I have a problem installing a LuaRock.
> 
> If I try to install Alien with this command:
> 
> luarocks install alien
> 
> It say that lacks FFI. Then I go to install FFI with one of these:
> 
> luarocks install ffi
> luarocks install libffi
> luarocks install luaffi
> luarocks install ffi.lib
> luarocks install ffi.dll
> 
> or several others.... it says that cannot find it.
> 
> I tried also luarocks install --server=http://luarocks.org/dev luaffi, as the 
> LuaFFI's webpage says, but the same result.
> 
> --------------------------
> I consider that for installing Alien, I just need FFI.
> Can you say me what of the several FFI's that are in LuaRocks is what I must 
> install and how?
> 
> Thanks.
> 
> 
> <image.png>
> 
> <image.png>
> 
> 
> <image.png>
> 
> <image.png>
> 
> <image.png>
> 
> 
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140_______________________________________________
> Luarocks-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to