Description | Have php 8.1 via Homebrew. When installing xdebug via pecl install xdebug or arch -arm64 sudo pecl install xdebug , tried both with same result, it fails at the very end of the install process:
bs/trace_html.o src/tracing/.libs/trace_textual.o src/tracing/.libs/tracing.o -lm -lz
dsymutil .libs/xdebug.so || :
creating xdebug.la
(cd .libs && rm -f xdebug.la && ln -s ../xdebug.la xdebug.la)
/bin/sh /private/tmp/pear/temp/pear-build-root6LYxIV/xdebug-3.1.5/libtool --mode=install cp ./xdebug.la /private/tmp/pear/temp/pear-build-root6LYxIV/xdebug-3.1.5/modules
cp ./.libs/xdebug.so /private/tmp/pear/temp/pear-build-root6LYxIV/xdebug-3.1.5/modules/xdebug.so
cp ./.libs/xdebug.lai /private/tmp/pear/temp/pear-build-root6LYxIV/xdebug-3.1.5/modules/xdebug.la
----------------------------------------------------------------------
Libraries have been installed in:
/private/tmp/pear/temp/pear-build-root6LYxIV/xdebug-3.1.5/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during execution
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
Build complete.
Don't forget to run 'make test'.
running: make INSTALL_ROOT="/private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5" install
Makefile:243: warning: overriding commands for target `test'
Makefile:136: warning: ignoring old commands for target `test'
Installing shared extensions: /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew/Cellar/php/8.1.10_1/pecl/20210902/
+----------------------------------------------------------------------+
| |
| INSTALLATION INSTRUCTIONS |
| ========================= |
| |
| See https://xdebug.org/install.php#configure-php for instructions |
| on how to enable Xdebug for PHP. |
| |
| Documentation is available online as well: |
| - A list of all settings: https://xdebug.org/docs-settings.php |
| - A list of all functions: https://xdebug.org/docs-functions.php |
| - Profiling instructions: https://xdebug.org/docs-profiling2.php |
| - Remote debugging: https://xdebug.org/docs-debugger.php |
| |
| |
| NOTE: Please disregard the message |
| You should add "extension=xdebug.so" to php.ini |
| that is emitted by the PECL installer. This does not work for |
| Xdebug. |
| |
+----------------------------------------------------------------------+
running: find "/private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5" | xargs ls -dils
45933170 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5
45933819 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt
45933820 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew
45933821 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew/Cellar
45933822 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew/Cellar/php
45933823 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew/Cellar/php/8.1.10_1
45933824 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew/Cellar/php/8.1.10_1/pecl
45933825 0 drwxr-xr-x 3 root wheel 96 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew/Cellar/php/8.1.10_1/pecl/20210902
45933826 776 -rwxr-xr-x 1 root wheel 394198 26 Sep 15:26 /private/tmp/pear/temp/pear-build-root6LYxIV/install-xdebug-3.1.5/opt/homebrew/Cellar/php/8.1.10_1/pecl/20210902/xdebug.so
Build process completed successfully
Installing '/opt/homebrew/Cellar/php/8.1.10_1/pecl/20210902/xdebug.so'
Warning: mkdir(): File exists in System.php on line 294
PHP Warning: mkdir(): File exists in /opt/homebrew/Cellar/php/8.1.10_1/share/php/pear/System.php on line 294
Warning: mkdir(): File exists in /opt/homebrew/Cellar/php/8.1.10_1/share/php/pear/System.php on line 294
ERROR: failed to mkdir /opt/homebrew/Cellar/php/8.1.10_1/pecl/20210902
|
---|
Additional Information | % /opt/homebrew/bin/php -version
PHP 8.1.10 (cli) (built: Sep 3 2022 12:09:27) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.10, Copyright (c) Zend Technologies
with Zend OPcache v8.1.10, Copyright (c), by Zend Technologies
% file /opt/homebrew/bin/php
/opt/homebrew/bin/php: Mach-O 64-bit executable arm64
|
---|