-
Notifications
You must be signed in to change notification settings - Fork 198
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
Installation failing on high sierra #721
Comments
Does this error only arise when you specify Can you grep According to this |
That was the issue. xcode command line tools was not installed. Weird as it was installed before the high sierrra upgrade. That got me as far as |
@mgoffin: Note that if you need to customize the path for OpenSSL headers, the Since we don't currently support passing configure options via PECL (pending PHPC-1017), the above approach does require building the driver from source. |
@jmikola Thanks! Would you happen to know why I would get an "Operation not permitted" when doing |
Is the "Operation not permitted" only when building for the macOS version of PHP? AFAIK, the only thing You may also want to look into installing PHP via Homebrew and compiling the driver for that. Independent of the MongoDB driver, that would keep PHP within accessible directories and give you more control over its version. |
I got past the Operation not permitted error. I went with Homebrew everything and then I followed the steps at the end of #658. Unfortunately I am now seeing Apache segfaults. I can cleanly start Apache if I comment out the extension from
|
If you're able to obtain a backtrace from the segfaults, I expect you'll find they're related to SSL (see: #681 and #682). If so, the solution outlined in Homebrew/homebrew-core#21475 (comment) is likely the best option for macOS High Sierra at the moment. |
That was it! Thanks! |
I got the exactly same issue on OSX 10.14.2. Apart from CFLAGS and LDFLAGS, I had to disable warnings about unused arguments, e.g
Hopefully this would help. |
it works for me! |
Description
Attemping to install on High Sierra is throwing the following error:
Command I am running:
Environment
OSX High Sierra using default PHP installation (/usr/bin/php)
The text was updated successfully, but these errors were encountered: