Coder Social home page Coder Social logo

Comments (5)

jestan avatar jestan commented on July 24, 2024

0.9.0 build with LuaJIT fails with following error messages.

[ 81%] Performing build step for 'lua_sandbox'
[  1%] Building C object src/CMakeFiles/luasandbox.dir/lsb.c.o
/heka/build/ep_base/Source/lua_sandbox/src/lsb.c: In function ‘lsb_init’:
/heka/build/ep_base/Source/lua_sandbox/src/lsb.c:347:20: error: ‘LUA_GCSETMEMLIMIT’ undeclared (first use in this function)
   lua_gc(lsb->lua, LUA_GCSETMEMLIMIT,
                    ^
/heka/build/ep_base/Source/lua_sandbox/src/lsb.c:347:20: note: each undeclared identifier is reported only once for each function it appears in
/heka/build/ep_base/Source/lua_sandbox/src/lsb.c: In function ‘lsb_usage’:
/heka/build/ep_base/Source/lua_sandbox/src/lsb.c:418:31: error: ‘LUA_GCMAXCOUNT’ undeclared (first use in this function)
       return lua_gc(lsb->lua, LUA_GCMAXCOUNT, 0) * 1024
                               ^
/heka/build/ep_base/Source/lua_sandbox/src/lsb.c:419:33: error: ‘LUA_GCMAXCOUNTB’ undeclared (first use in this function)
              + lua_gc(lsb->lua, LUA_GCMAXCOUNTB, 0);
                                 ^
make[5]: *** [src/CMakeFiles/luasandbox.dir/lsb.c.o] Error 1
make[4]: *** [src/CMakeFiles/luasandbox.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [ep_base/Stamp/lua_sandbox/lua_sandbox-build] Error 2
make[1]: *** [CMakeFiles/lua_sandbox.dir/all] Error 2
make: *** [all] Error 2

from lua_sandbox.

trink avatar trink commented on July 24, 2024

Yes this is expected, it will be corrected but is low priority at the moment.

from lua_sandbox.

jestan avatar jestan commented on July 24, 2024

@trink I need to write a plugin using lua (mmap fileoutput plugin), but required dependencies are using luajit. I wish this issue will be fixed soon :)

from lua_sandbox.

waqarkhan3389 avatar waqarkhan3389 commented on July 24, 2024

Any idea when this will be added back in?

from lua_sandbox.

trink avatar trink commented on July 24, 2024

This will not be in the 1.0 release

from lua_sandbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.