doc-en icon indicating copy to clipboard operation
doc-en copied to clipboard

Installing default build on 8 core Mac Mini with Apple M1 processor

Open pjamesnorris opened this issue 1 month ago • 0 comments

From manual page:


Following The PHP Interpreter - Installation,

I have:

$ brew install autoconf bison re2c libiconv libxml2 sqlite

$ ./buildconf

$ ./configure --enable-debug --with-iconv=$(brew --prefix libiconv)

and everything seems to work. But when I:

$ make -j8

I get the error:

make: *** No rule to make target `/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/evp.h', needed by `ext/phar/util.lo'. Stop.

I don't know why it's trying to configure against /openssl@3/3.4.1--I've installed /openssl@3/3.6.0 (not 3.4.1):

$ pkg-config --cflags openssl
-I/opt/homebrew/Cellar/openssl@3/3.6.0/include

Any help would be appreciated!

pjamesnorris avatar Nov 25 '25 15:11 pjamesnorris