On 26 January 2015 at 08:18, Vadim Peretokin <vpereto...@gmail.com> wrote:
> Hi,
>
> How can I install LuaSocket configured for Lua 5.1 on OSX?  Going the easy
> way via HomeBrew and LuaRocks installs and sets it up for 5.2, which Lua 5.1
> doesn't like due to 'incompatible images'.

If you already have Lua 5.1 installed, this should do the trick:

curl -O http://luarocks.org/releases/luarocks-2.2.0.tar.gz
tar zxvpf luarocks-2.2.0
cd luarocks-2.2.0
./configure --lua-version=5.1
sudo make bootstrap
sudo luarocks-5.1 install luasocket

If you have any troubles, let us know by posting the complete error
messages here!

Hope that helps,

-- Hisham

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to