[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Installing Lua and add-ons
- From: David Hollander <dhllndr@...>
- Date: Mon, 9 Apr 2012 14:32:12 -0500
I believe lua5.2 and lua5.1 overwrite each other and use the same
shared library name in the default make files, so make sure Lua5.1 was
installed last. LuaRocks is the package management tool specific to
Lua and documentation is available online[1]. If you are looking for a
generic package manager and installation tool on OSX you could try
MacPorts[2], but this is an operating system specific tool and not a
Lua specific tool.
[1] http://luarocks.org/en/Documentation
[2] http://www.macports.org/
[3] http://www.macports.org/ports.php?by=name&substr=lua
On Mon, Apr 9, 2012 at 2:01 PM, Jose Torre-Bueno <jtorrebueno@cox.net> wrote:
> Thank you very much, if I could ask a follow up question, how would I install 5.1 and do I need to uninstall 5.2 to prevent interference. I want to use Luasockets which I understand only works with 5.1.
> Also if there is a tutorial on how to use the other repositories I would be very interested.
>
>
>
> Jose Torre-Bueno
> jtorrebueno@cox.net
>
>
>
>
> On Apr 9, 2012, at 9:28 AM, Luiz Henrique de Figueiredo wrote:
>
>>> I wonder if anybody can direct me to an "assume-I-know-nothing" tutorial on downloading and installing packages. I am not familiar with the basic mechanism of Linux make and its competitors and further have to deal with the subtle differences needed to instal in OSX.
>>
>> To download and install Lua in Mac OS X, open a Terminal window and do this:
>> curl -R -O http://www.lua.org/ftp/lua-5.2.0.tar.gz
>> tar zxf lua-5.2.0.tar.gz
>> cd lua-5.2.0
>> make macosx install
>>
>> Adapted from http://www.lua.org/faq.html#1.1 which contains a litte more
>> information, incluing a link to Chapter 1 of the book Beginning Lua
>> Programming.
>>
>
>