[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luasocket problems
- From: khz@...
- Date: Fri, 25 Nov 2005 19:34:21 +0000
well some files are in :
usr/local/share/lua/
how socket.lua mime.lua and others how http.lua in usr/local/share/lua/socket
Diego Nehab (diego@tecgraf.puc-rio.br) wrote:
>
> Hi,
>
> > i'm having lot of problems installind luasocket some like it
> >
> >> require("socket")
> > /usr/local/share/lua/compat-5.1.lua:171: package `socket.core' not found
> > stack traceback:
> > [C]: in function `error'
> > /usr/local/share/lua/compat-5.1.lua:171: in function
> > </usr>
> > /usr/local/share/lua/compat-5.1.lua:190: in function `require'
> > /usr/local/share/lua/socket.lua:13: in main chunk
> > /usr/local/share/lua/compat-5.1.lua:190: in function `require'
> > stdin:1: in main chunk
> > [C]: ?
> >>
> >
> > and my enviromment vars:
> >
> > declare -x LUA_CPATH="/usr/local/share/lua/?/?.so"
> > declare -x LUA_INIT="@/usr/local/share/lua/compat-5.1.lua"
> > declare -x LUA_PATH="/usr/local/share/lua/?.lua"
>
> And where are the LuaSocket files?
>
> Regards,
> Diego.
>