[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Noob trying to install
- From: Rustom Mody <rustompmody@...>
- Date: Mon, 29 Jul 2013 21:23:10 +0530
On Mon, Jul 29, 2013 at 9:02 PM, kamicc olo <kamicc@gmail.com> wrote:
Dirty way:
sudo ln -s /usr/lib/i386-linux-gnu/liblua5.2-lpeg.so
/usr/local/lib/lua/5.2/lpeg.so
(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/liblua5.2-lpeg.so lpeg.so
(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 Lua.org, 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?