Saturday, 15 January 2011

lua - Enabling 'websocket' module on Prosody (Windows) -



lua - Enabling 'websocket' module on Prosody (Windows) -

in order enable 'websocket' module (https://code.google.com/p/prosody-modules/wiki/mod_websocket) on prosody, lua used prosody must have bit library installed, such luabitop. thing is: prosody windows uses bundled lua, under 'prosody_home/bin', doesn't have bit library.

i tried placing 'bit.dll' file under 'prosody_home/bin', libraries used bundled lua are, but, upon running prosody, when tries load 'websocket' module, gives error saying lua doesn't have bit library installed.

i found strange; though tested running bundled lua console , inputing:

require"bit"

it didn't give me error , able utilize without problems. on side note: can't utilize xmpp server, have utilize prosody.

any ideas on how create work?

thanks.

uppon doing @siffiejoe suggested, discovered looking under 'prosody_home/lib' , 'prosody_home/src'; i've set 'bit.dll' under 'prosody_home/lib' , worked.

windows lua websocket xmpp

No comments:

Post a Comment