Re: [NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Hans Hagen
On 12/20/2017 8:12 PM, Tomas Hala wrote: Hi all, I installed the module (I'm at CentOS 6.6) by yum install luasql-postgres, ok. Then I used: lua myscript.lua /usr/bin/luamyscript.lua /usr/local/bin/lua myscript.lua I discovered that it is version dependent: lua (=/usr/local/bin/lua)

Re: [NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Henning Hraban Ramm
Am 2017-12-20 um 20:12 schrieb Tomas Hala : > I installed the module (I'm at CentOS 6.6) by yum install luasql-postgres, > ok. Then I used: LuaSQL claims to work on Lua 5.1, 5.2 and 5.3: https://keplerproject.github.io/luasql/ Maybe you must install postgresql-dev? > !

[NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Tomas Hala
Hi all, I installed the module (I'm at CentOS 6.6) by yum install luasql-postgres, ok. Then I used: lua myscript.lua /usr/bin/luamyscript.lua /usr/local/bin/lua myscript.lua I discovered that it is version dependent: lua (=/usr/local/bin/lua) does not operate, it is 5.3, whereas