lua-users home
lua-l archive

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


My best guess, of hand, is that lpeg (at least) is not included as compiled for Lua 5.2, but instead Lua 5.1


On Mon, Jul 29, 2013 at 8:39 AM, Rustom Mody <rustompmody@gmail.com> wrote:
Noob to lua here (though not programming).

Trying to install the apl in lua:
https://github.com/dlaurie/lua-apl

Get the below errors.
I guess its something about (search) paths I dont understand??

I am on debian.
The docs say that lpeg abd lapack are needed.  As far as I can see they are there: lua-lpeg-dev and lua-lpeg


------------------
$ ./lua
Lua 5.2.2  Copyright (C) 1994-2013 Lua.org, PUC-Rio
Lua⋆APL 0.4.0 © Dirk Laurie 2013
./lua: ./apl.lua:18: module 'lpeg' not found:
    no field package.preload['lpeg']
    no file '/usr/local/share/lua/5.2/lpeg.lua'
    no file '/usr/local/share/lua/5.2/lpeg/init.lua'
    no file '/usr/local/lib/lua/5.2/lpeg.lua'
    no file '/usr/local/lib/lua/5.2/lpeg/init.lua'
    no file './lpeg.lua'
    no file '/usr/local/lib/lua/5.2/lpeg.so'
    no file '/usr/local/lib/lua/5.2/loadall.so'
    no file './lpeg.so'
stack traceback:
    [C]: in function 'require'
    ./apl.lua:18: in main chunk
    [C]: in function 'require'
    [C]: in ?




--
Thomas Harning Jr. (http://about.me/harningt)