https://bugzilla.wikimedia.org/show_bug.cgi?id=43819
Web browser: ---
Bug ID: 43819
Summary: cant compile luasandbox on gallium
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Scribunto
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
I tried compiling the mediawiki/php/luasandbox PHP extension on gallium (which
runs Ubuntu Precise). I end up with a compilation error:
/var/lib/jenkins/jobs/php-luasandbox-build/workspace/luasandbox_lstrlib.c:382:21:
error: 'LUAI_MAXCALLS' undeclared (first use in this function)
luaconf.h does not have any LUAI_MAXCALLS defined:
$ grep LUAI /usr/include/luajit-2.0/*
/usr/include/luajit-2.0/luaconf.h:#define LUAI_MAXSTACK 65500 /* Max. #
of stack slots for a thread (<64K). */
/usr/include/luajit-2.0/luaconf.h:#define LUAI_MAXCSTACK 8000 /* Max. #
of stack slots for a C func (<10K). */
/usr/include/luajit-2.0/luaconf.h:#define LUAI_GCPAUSE 200 /* Pause GC
until memory is at 200%. */
/usr/include/luajit-2.0/luaconf.h:#define LUAI_GCMUL 200 /* Run GC at
200% of allocation speed. */
/usr/include/luajit-2.0/luaconf.h:#define LUAI_UACNUMBER double
/usr/include/luajit-2.0/luaconf.h:#define LUAI_MAXNUMBER2STR 32
I got the luajit and libluajit-5.1-dev packages installed
(https://gerrit.wikimedia.org/r/#/c/43182/ ).
apt-cache policy libluajit-5.1-dev is version 2.0.0~beta9+dfsg-1
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l