-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Compile Error on Mac Big Sur with PHP 8 #3926
Copy link
Copy link
Closed
Description
Please answer these questions before submitting your issue. Thanks!
-
What did you do? If possible, provide a simple script for reproducing the error.
Install swoolepecl install swoole -
What did you expect to see?
swoole pecl extension -
What did you see instead?
Compile termination error
In file included from /private/tmp/pear/temp/swoole/ext-src/php_swoole.cc:21:
/usr/local/Cellar/php/8.0.0_1/include/php/ext/pcre/php_pcre.h:23:10: fatal error: 'pcre2.h' file not found
#include "pcre2.h"
^~~~~~~~~
1 error generated.
make: *** [ext-src/php_swoole.lo] Error 1
ERROR: `make' failed
- What version of Swoole are you using (show your
php --ri swoole)?
pecl install swoole
downloading swoole-4.5.9.tgz ...
Starting to download swoole-4.5.9.tgz (1,552,445 bytes)
..................................................................................................................................................................................................................................................................................................................done: 1,552,445 bytes
351 source files, building
running: phpize
Configuring for:
PHP Api Version: 20200930
Zend Module Api No: 20200930
Zend Extension Api No: 420200930
- What is your machine environment used (show your
uname -a&php -v&gcc -v) ?
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 x86_6
PHP 8.0.0 (cli) (built: Nov 30 2020 13:51:52) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.0.0, Copyright (c), by Zend Technologies
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels