We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we use lunajson, but lua-cjson is already available in Exasol.
Building lua-cjson on mac fails currently:
% luarocks install lua-cjson Installing https://luarocks.org/lua-cjson-2.1.0.6-1.src.rock lua-cjson 2.1.0.6-1 depends on lua >= 5.1 (5.4-1 provided by VM) env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/usr/local/opt/lua/include/lua5.4 -c lua_cjson.c -o lua_cjson.o lua_cjson.c:743:19: error: implicit declaration of function 'lua_objlen' is invalid in C99 [-Werror,-Wimplicit-function-declaration] len = lua_objlen(l, -1); ^ 1 error generated.
See mpx/lua-cjson#54 for a potential solution.
Root cause: mpx/lua-cjson#56
Workarounds: Install it with flag -DLUA_COMPAT_5_3
-DLUA_COMPAT_5_3
luarocks install lua-cjson --local "CFLAGS=-O3 -Wall -pedantic -DNDEBUG -DLUA_COMPAT_5_3"
or pin the version: "lua-cjson == 2.1.0" in rockspec.
"lua-cjson == 2.1.0"
The text was updated successfully, but these errors were encountered:
#18: Replace lunajson with cjson
f957c2e
Merge remote-tracking branch 'origin/main' into refactoring/#18-use-l…
7c77b4e
…ua-cjson
Refactoring/#18-use-lua-cjson (#27)
699bf66
* Migrate to lua-cjson
kaklakariada
Successfully merging a pull request may close this issue.
Currently we use lunajson, but lua-cjson is already available in Exasol.
Building lua-cjson on mac fails currently:
See mpx/lua-cjson#54 for a potential solution.
Root cause: mpx/lua-cjson#56
Workarounds: Install it with flag
-DLUA_COMPAT_5_3
luarocks install lua-cjson --local "CFLAGS=-O3 -Wall -pedantic -DNDEBUG -DLUA_COMPAT_5_3"
or pin the version:
"lua-cjson == 2.1.0"
in rockspec.The text was updated successfully, but these errors were encountered: