Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > f4d7e40d28f36cdacdd03b6ee3ac20cc > files > 31

ntopng-2.4-1.mga6.x86_64.rpm

In order to use ntopng with valgrind it is necessary to recompile LuaJIT with
valgrind support otherwise the Lua interpreter won't start under valgrind
and so ntopng.

In order to do that you need to have valgrind installed and then you need to
modify the file ntopng/third-party/LuaJIT-X.Y.Z/src/Makefile uncommenting the
following line:

XCFLAGS+= -DLUAJIT_USE_VALGRIND

Then you can compile all the code (ntopng and the dependencies) and you would
be able to run ntopng with valgrind