lua-users home
lua-l archive

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


> Hello,
>
> On Tue, Dec 3, 2013 at 8:23 AM, Pierre Chapuis <catwell@archlinux.us>
> wrote:
>
>>
>> this is indeed the case. You need LuaSocket built with
>> Unix Socket support for that.\
>>
>
> Could you provide  an example on how to compile LuaSocket with unix-socket
> support ?

For instance on Mac OS X with Lua 5.1:

    git clone https://github.com/diegonehab/luasocket.git
    cd luasocket/src
    make PLAT=macosx LUAV=5.1
    make install-unix LUAV=5.1

Adapt the settings to your platform. All Unix platforms build
with Unix support by default, but you have to call install-unix
instead of install.

-- 
Pierre Chapuis