Some problems about lua scripts install into the suricata

When I add the lua scripts into the /etc/suricata/lua-output and execute suricata, occured errors: [ERRCODE: SC_ERR_NOT_SUPPORTED(225)] - lua support not compiled in. Reconfigure/recompile with lua(jit) and its development files installed to add lua support. How should I solve the problems?

I suspect Suricata’s not configured with Lua support.

Please paste the output from suricata --build-info|grep -i lua and suricata -v | head -1