lua-users home
lua-l archive

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

On Mon, Jul 29, 2013 at 9:02 PM, kamicc olo <> wrote:
Dirty way:
sudo ln -s /usr/lib/i386-linux-gnu/

(making a link to the version of lpeg You have in Your system).

Nicer way would be using LuaDist, which provides virtual environment
setting automatically all needed environment paths and stuff.

Well I did not do that much dirty hacking :-)
Just some things like
ln -s /usr/lib/i386-linux-gnu/
(ie into current directory)

until all the 'no file' ... 'module not found' errors went

Now I get
$ ./lua
Lua 5.2.2  Copyright (C) 1994-2013, PUC-Rio
Lua⋆APL 0.4.0 © Dirk Laurie 2013
./lua: ./apl.lua:233: bad argument #2 to '__div' (invalid replacement value)
stack traceback:
    [C]: in function '__div'
    ./apl.lua:233: in main chunk
    [C]: in function 'require'
    [C]: in ?

So I guess its not yet really stable for others to try out?