From: Reuben T. <rr...@sc...> - 2006-03-29 00:38:24
|
On Tue, 28 Mar 2006, Identity Guarded wrote: > I downloaded both the latest Compat-5.1 and the latest stdlib, installed them > in the correct path (/usr/local/share/lua50), and tried to execute the > following script (nothing crazy -- just seeing if it compiles): > > #!/usr/bin/lua > require "compat-5.1" > require "io.getopt" > > I get: > > $ ./test_script > /usr/bin/lua: /usr/local/share/lua50/rex-ext.lua:7: bad argument #1 to > `setmetatable' (table expected, got nil) > stack traceback: > [C]: in function `setmetatable' > /usr/local/share/lua50/rex-ext.lua:7: in function `init' > /usr/local/share/lua50/compat-5.1.lua:200: in function `require' > /usr/local/share/lua50/string/xml.lua:6: in function `init' > /usr/local/share/lua50/compat-5.1.lua:200: in function `require' > /usr/local/share/lua50/string-ext.lua:8: in function `init' > /usr/local/share/lua50/compat-5.1.lua:200: in function `require' > /usr/local/share/lua50/io/getopt.lua:7: in function `init' > /usr/local/share/lua50/compat-5.1.lua:200: in function `require' > ./make_init.d_script:4: in main chunk > [C]: ? This is fixed now, I think. -- http://rrt.sc3d.org/ | Slow Pedestrian Crossing (Anon) |