You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring to build on macOS 10.12.6, the following is observed:
checking CommonCrypto/CommonRandom.h usability... no
checking CommonCrypto/CommonRandom.h presence... yes
configure: WARNING: CommonCrypto/CommonRandom.h: present but cannot be compiled
configure: WARNING: CommonCrypto/CommonRandom.h: check for missing prerequisite headers?
configure: WARNING: CommonCrypto/CommonRandom.h: see the Autoconf documentation
configure: WARNING: CommonCrypto/CommonRandom.h: section "Present But Cannot Be Compiled"
configure: WARNING: CommonCrypto/CommonRandom.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------------------- ##
configure: WARNING: ## Report this to https://github.com/php/php-src/issues ##
configure: WARNING: ## ---------------------------------------------------- ##
checking for CommonCrypto/CommonRandom.h... no
Even though the header is present, configuration of it fails.
macOS. Must also pull in sys/types.h for size_t, Availability.h for
__OSX_AVAILABLE_STARTING, and CommonCrypto/CommonCryptoError.h for
CCCryptorStatus. Fixes GH php#9464.
A simple check for CommonCrypto/CommonRandom.h does not work on earlier macOS.
Must also pull in sys/types.h for size_t, Availability.h for __OSX_AVAILABLE_STARTING,
and CommonCrypto/CommonCryptoError.h for CCCryptorStatus.
ClosesGH-9479.
Description
When configuring to build on macOS 10.12.6, the following is observed:
Even though the header is present, configuration of it fails.
I was able to fix it with the following:
With the patch, php builds, and the "random" module is present.
PHP Version
PHP 8.2.0RC1
Operating System
macOS 10.12.6
The text was updated successfully, but these errors were encountered: