> -----Oorspronkelijk bericht----- > Van: Hernan Cano [mailto:cano.her...@gmail.com] > Verzonden: Tuesday, 22 March, 2016 20:28 > Aan: luarocks-developers@lists.sourceforge.net > Onderwerp: [Luarocks-developers] About Installing a LuaRock > > 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. >
Alien is a binding to a generic library. So you need the FFI library on your system, on unix you might use favorite package manager if it's in its repository, and on Windows it's more cumbersome. Probably best to check the LibFFI docs. Once that is installed, you can compile the binding library (Alien) and start using it from Lua. Hth Thijs ------------------------------------------------------------------------------ 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 Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers