How do you install luasocket on the Mac OS X correctly? I have lua 5.1.4 installed as a binary in the /usr/bin on my Mac. I am needing guidance to configure and install luasocket. Please let me know if additional information is needed.
If you want the most up-to-date version of LuaSocket:
git clone -b unstable git://github.com/diegonehab/luasocket.git
cd luasocket
make macosx
sudo make install