[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trouble compiling Lua Socket...
- From: Edgar Toernig <froese@...>
- Date: Thu, 28 Jul 2005 15:40:56 +0200
Matthew Percival wrote:
>
> Firstly, Lua seems to ignore the paths I set. Even if I do:
>
> set LUA_PATH=/usr/local/share/lua/5.0/?.lua;?.lua
and later:
>
> I have not worked out why, but for some reason the shell (ash) was
> not exporting them to lua.
Because "set VAR=VALUE" is the MSDOS method to set variables.
In a Bourne shell you have to write:
LUA_PATH="/usr/local/share/lua/5.0/?.lua;?.lua"
export LUA_PATH
With modern versions you can combine that into a single statement:
export LUA_PATH="/usr/local/share/lua/5.0/?.lua;?.lua"
Ciao, ET.