Trying to add IMAP support to brew's PHP74, install fails after brew install php@7.4-imap. Output is as follows:
==> Downloading https://www.php.net/distributions/php-7.4.4.tar.xz
Already downloaded: /Users/jonthompson/Library/Caches/Homebrew/downloads/b64679f2a3bf0584b38fb961b3755ba464194e472135b5c94f1d1bf5040bf397--php-7.4.4.tar.xz
==> /usr/local/opt/php/bin/phpize
==> ./configure --with-php-config=/usr/local/opt/php/bin/php-config --with-imap=/usr/local/opt/imap-uw --with-imap-ssl=/usr/local/opt/openssl@1.1 --with-kerberos
Last 15 lines from /Users/jonthompson/Library/Logs/Homebrew/php-imap/02.configure:
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for IMAP support... yes, shared
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... /usr/local/opt/openssl@1.1
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... no
checking for krb5-gssapi krb5... yes
checking for openssl >= 1.0.1... yes
checking whether rfc822_output_address_list function present... no
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/kabel/homebrew-php-ext/issues
brew info php@7.4-imap shows a conflict:
IMAP Extension for PHP 7.4
https://www.php.net/imap
Conflicts with:
php-recode (because because both share the same internal symbols)
Not installed
From: https://github.com/kabel/homebrew-php-ext/blob/master/Formula/php-imap.rb
==> Dependencies
Build: autoconf ✔, pkg-config ✔
Required: php ✔, imap-uw ✔, openssl@1.1 ✔
Trying to add IMAP support to brew's PHP74, install fails after
brew install php@7.4-imap
. Output is as follows:brew info php@7.4-imap
shows a conflict: