Bug #80850 [Com]: Missing LuaSandbox DLLs on PECL
| From: | legoktm at member dot fsf dot org | Date: | Wed, 10 Mar 2021 16:34:24 +0000 |
| Subject: | Bug #80850 [Com]: Missing LuaSandbox DLLs on PECL | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-17287@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80850&edit=1
ID: 80850
Comment by: legoktm at member dot fsf dot org
Reported by: cmb@php.net
Summary: Missing LuaSandbox DLLs on PECL
Status: Assigned
Type: Bug
Package: PECL
Operating System: Windows
PHP Version: 7.4.16
Assigned To: tstarling
Block user comment: N
Private report: N
New Comment:
The config.w32 omission is accidental, I'll get that fixed for the next release.
However, LuaSandbox is specific to Lua 5.1, so 5.3 won't work. <https://phabricator.wikimedia.org/T178146>
goes into more detail about this.
Is it possible to add Lua 5.1 to the list of Windows dependencies?
Previous Comments:
------------------------------------------------------------------------
[2021-03-10 10:53:37] cmb@php.net
Description:
------------
Obviously, there are no LuaSandbox DLLs available for download
on PECL. The primary reason is that config.w32 is missing in the
packages, although it exists in the repo[1]. If the missing config.w32
is just an oversight, please add it.
If it gets added, the next issue would be the check for
lua5.1.lib, which appears to be overly restricted. There are lua
packages available for PECL builds[2], but these have lua 5.3.4,
and the library is named liblua.lib. It would be good to add at
least a fallback for that name, i.e. something like
CHECK_LIB("lua5.1.lib;liblua.lib", "luasandbox", PHP_LUASANDBOX)
[1] <https://phabricator.wikimedia.org/diffusion/MLUS/browse/master/config.w32>
[2] <https://windows.php.net/downloads/pecl/deps/>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80850&edit=1