View Issue Details

IDProjectCategoryView StatusLast Update
0002057XdebugInstallationpublic2022-01-04 01:30
Reporteriio7 Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Summary0002057: Xdebug cannot be installed via PECL on OpenBSD
DescriptionDuring installation on OpenBSD, PECL complains about missing "phpize", which cannot be installed via PECL or PEAR and it is not in any of the packages. I have searched the net for a solution, but all I have found is that on Linux "phpize" comes with some "php-dev" package which doesn't exist on OpenBSD.
Steps To Reproduce# pecl install xdebug
downloading xdebug-3.1.2.tgz ...
Starting to download xdebug-3.1.2.tgz (230,023 bytes) .................................................done: 230,023 bytes
93 source files, building
running: phpize
sh: phpize: not found
ERROR: `phpize' failed
TagsNo tags attached.
Operating SystemOpenBSD
PHP Version7.4.20-7.4.29

Activities

derick

2021-12-31 16:39

administrator   ~0006191

The `pecl` tool should depend on `phpize`. If the OpenBSD package manager does not install that, or make available, then that is a bug in the `pecl` package on OpenBSD. I can't do anything about that. I did see some hints that there is a `phpize` package (or port), so you might be able to try that.

FWIW, somebody did reach out to me in the last few weeks about making a specific OpenBSD port for Xdebug, but that has not been published yet, I think.

derick

2022-01-04 01:30

administrator   ~0006192

There is a port for it now: https://github.com/openbsd/ports/tree/master/devel/pecl-xdebug

Issue History

Date Modified Username Field Change
2021-12-28 15:52 iio7 New Issue
2021-12-31 16:39 derick Assigned To => derick
2021-12-31 16:39 derick Status new => resolved
2021-12-31 16:39 derick Resolution open => no change required
2021-12-31 16:39 derick Note Added: 0006191
2022-01-04 01:30 derick Note Added: 0006192