lua-users home
lua-l archive

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


Let's assume you are right, and that compat-5.1.lua is really broken.
The polite thing to do is to ask why is it that you can't get it to work, and perhaps point out one or two possible reasons.

On the other hand, wouldn't it be surprizing if a library that gets about
20 downloads per week from Windows users didn't work at all on Windows?

Turns out are using Lua 5.1, which has not been released yet.  LuaSocket
runs out of the box with Lua 5.0.2, which is the official Lua release as
of today. The entire compat-5.1.lua business is to get Lua 5.0.2 up to
speed with the new package system that Lua 5.1 implements out of the

If you want to get LuaSocket to run with Lua 5.1, you naturally don't
need compat-5.1.lua. However, since you are not using the official Lua
release, you have to do some minor adjustments to LuaSocket, as has been
described on the list. Start by reading the thread

and disregard the messages about Mac OS X because you are running

If you still can't get it to work, I will be more than happy to help