Saturday, January 01, 2022

Re: Pecl is missing phpize

Moved from tech@ to ports@

On 2021/12/31 21:35, iio7@protonmail.com wrote:
> I am not sure how to make a patch for this, but I wanted to install
> xdebug via Pecl but that fails because Pecl is missing phpize.
>
> I have filed this upstream, but apparently it's the OpenBSD Pecl
> port/package that is missing phpize as a dependency.
>
> https://bugs.xdebug.org/view.php?id=2057
>
> Just wanted to let someone know.
>
> Sent with [ProtonMail](https://protonmail.com/) Secure Email.

It is present but has a suffix of the PHP major version number
(phpize-7.4, phpize-8.0, etc).

You can tell pecl to use it with "pecl config-set php_suffix -7.4".

I don't really recommend installing compiled extensions outside of
packages though, it is better if they can be added to ports/packages
instead so that they get rebuilt for OS updates etc. I've just written
one (https://marc.info/?l=openbsd-ports&m=164104022308161&w=2),
hopefully we can get it into -current sometime soon.

No comments:

Post a Comment