-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install on Mac M2 #494
Comments
I've run into this as well. The problem seems to be that the php pcre header, which apcu depends on, has a dependency on the pcre2 headers, but they aren't being configured into the include path for the compiler. The configure output includes this on my machine:
but there are files in those paths that depend on things outside of those paths. Nominally, either the php-config needs to include the headers for pcre2 in it's compiler includes, or the apcu configure process needs to go looking for them as a secondary dependency. I've confirmed this by adding |
I've run into this as well and I've solved this problem and hope it can be helpful to you. First
If you don't have this directory, please execute:
Then
And
Last execute:
|
Neither pecl nor compiling from source code works for me. Here is the full output from pecl (same with the source code during the make stage):
PHP version is 8.1.23
The text was updated successfully, but these errors were encountered: