lua-users home
lua-l archive

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


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 ?