春哥,目前我项目在使用openresty来部署服务端,现在遇到一个问题,luajit不支持int64,
我想把lua5.3编译到openresty里面(因为lua5.3天然支持int64),但是发现只有--with-lua51选项,我试图手动指定 lua5.3的目录,但是编译总是失败,
错误提示:
checking for Lua library 。。。。。。(specified by the LUA_LIB and LUA_INC env) ... not found 之类的
不知道openresty是否能编译lua5.3呢?或者有什么解决方案可以解决在openresty lua里面使用int64的问题呢?
还有涉及到cjson的encode decode int64,目前我测试下来,加了一个补丁在lua5.3下可以正确解析int64。
现在就是急于想知道怎么解决openresty 无法使用int64的问题。
非常感谢。