I believe you need to set LUA_PATH, here's more information:

http://www.lua.org/pil/8.1.html

-pete

-------- Original Message --------
Subject: [Freeswitch-users] Lua on Windows and additional modules
From: Vladimir Rodionov <[email protected]>
Date: Thu, August 06, 2009 5:55 pm
To: [email protected]

Good evening,
This is newbie question.

The FreeSWITCH lua module does not support sockets and sql out of box that is why
I just installed LuaBinaries (including socket, sql modules). My dev environment is Win XP not Linux/Unix.

I am trying to understand what will happen when lua_module get this:

require "socket" or 
require "luasql.mysql"
?

How does lua_module look up additional lua modules on Windows platform?

Do I have to set some env variables?

TIA
-Vladimir Rodionov


_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to