The latest rockspec for LuaSocket had a bug on OS X that manifested if you did not have a global Lua installation (e.g. via MacPorts or Homebrew, or even make osx && make install from sources). I have uploaded a corrected rockspec, please try again. Thanks!
-- Fabio Mascarenhas On Thu, Jan 14, 2010 at 5:21 PM, Shaun Bruner <sh...@brunitech.com> wrote: > wsapi-install-1.2 fails under Mac OS X (10.5.8) by executing: > wsapi-install-1.2 --prefix=${PWD} --without-readline > > The installer then gets as far as luasocket-2.0.2 and then bombs. I've > included a snippet of the output below. > Can anyone give a hint about what I should do to correct this? I've an idea > the error is in the makefile included with luasocket-2.0.2, but I can't find > where on my system the installer placed these files. > -- Begin output -- > ... > inflating: luasocket-2.0.2-2.rockspec > inflating: luasocket-2.0.2.tar.gz > cd src; make all > export MACOSX_DEPLOYMENT_TARGET=10.3; gcc -O2 -DLUASOCKET_DEBUG > -DUNIX_HAS_SUN_LEN -fno-common > -I/Users/shaun/projects/moonbase/lib/luarocks/rocks/luasocket/2.0.2-2/lua > -c -o luasocket.o luasocket.c > luasocket.c:20:17: error: lua.h: No such file or directory > luasocket.c:21:21: error: lauxlib.h: No such file or directory > luasocket.c:24:24: error: compat-5.1.h: No such file or directory > In file included from luasocket.c:30: > luasocket.h:30: error: syntax error before ‘*’ token > In file included from luasocket.c:31: > ... > -- End output -- > If it is relevant, I obtained the installer by following this > link: http://cloud.github.com/downloads/keplerproject/wsapi/wsapi-install-1.2 > Any help is much appreciated. > Shaun > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/