lua-users home
lua-l archive

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


On 26 May 2012 00:10, Emeka <emekamicro@gmail.com> wrote:
> Hello All,
>
> I got the below while trying  to use luarocks. Looks like it was checking
> out Lua 5.1 while I have moved up to 5.2

I don't think this issue in particular is related to Lua versions. I
see you're on Ubuntu, try this:

    echo 'variables.CFLAGS = "-O2 -fPIC"' | sudo tee -a /etc/luarocks/config.lua

Regards,
Matthew