lua-users home
lua-l archive

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


I have been failing to get LUA_PATH/package.path working right for nearly two major versions of Lua, now.

I'm using lua 5.1, from the Debian package on one machine, and a custom-compiled lua 5.1 (using 64-bit signed ints for numbers) on another machine. Both suffer this same problem.

The console snippet below describes the nature of this error in full, I suspect.


[tiogshi@tiogshi-desktop ~/Programming/sim-lua]$ echo $LUA_PATH
;;./?.lc;./?.lua;/home/tiogshi/.lua/?.lua;/home/tiogshi/.lua/?.lc

[tiogshi@tiogshi-desktop ~/Programming/sim-lua]$ lua
Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
> print( os.getenv('LUA_PATH') )
nil
>


Any suggestions?

--
(( Tiogshi Laj :: Average ASCII Artisan And Ambitiously Anachronistic Assonanteur ))
(( This email has been quad-ROT13 encrypted. Reading it violates the DMCA. ))
(( Now with 50% more fuit jruice! Ask about our convenient bulk pricing! ))
(( 我说很少的汉语,还我的语法平庸, but at least I'm UNICODE-compliant. ))