lua-users home
lua-l archive

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


Hi.

Have you tried to use homebrew (http://brew.sh/) ?

Install it and run:

$ brew install lua

It will install lua 5.1.5 (https://github.com/mxcl/homebrew/blob/master/Library/Formula/lua.rb), but i think with a few adjustments you could install 5.2.

;)



Giuliani D. Sanches
about.me/giulianisanches


On Fri, Oct 11, 2013 at 6:02 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> I just got a macbook air, can someone help me get lua on it? I have Xcode and I copied and pasted
>
> curl -R -O http://www.lua.org/ftp/lua-5.2.2.tar.gz
> tar zxf lua-5.2.2.tar.gz
> cd lua-5.2.2
> make macosx test
>
> into the terminal and but I don't think I have it.

If you want to install do
        make install

You probably need to do
        sudo make install