[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Numeric Lua 0.3
- From: Dirk Laurie <dpl@...>
- Date: Sat, 20 Aug 2011 21:09:31 +0200
Report on first installalation/testing attempt:
$ luarocks make numlua-0.3-1.rockspec
So far so good: I can see numlua.so. Now the installation.
5.1 $ sudo mkdir /usr/local/lua/5.1/numlua
$ sudo cp numlua.so *.lua /usr/local/lua/5.1/numlua
5.2 $ sudo mkdir /usr/local/lua/5.2/numlua
$ sudo cp numlua.so /usr/local/lua/5.2
$ sudo cp *.lua /usr/local/lua/5.2/numlua
And now try to use it.
$ lua5.1
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> require "numlua"
> require "numlua.seeall"
/usr/local/lib/lua/5.1/numlua/seeall.lua:14: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
/usr/local/lib/lua/5.1/numlua/seeall.lua:14: in main chunk
[C]: in function 'require'
stdin:1: in main chunk
[C]: ?
$ lua5.2
Lua 5.2.0 (beta) Copyright (C) 1994-2011 Lua.org, PUC-Rio
> require "numlua"
error loading module 'numlua' from file '/usr/local/lib/lua/5.2/numlua.so':
/usr/local/lib/lua/5.2/numlua.so: undefined symbol: lua_call
stack traceback:
[C]: in ?
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
It's part 21:00 local time, I'm packing it in for today.
Dirk