Skip to content
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

Error installing on Macosx 13.4.1: admin_php's formula is deprecated. #22

Open
robertgarrigos opened this issue Aug 29, 2023 · 1 comment

Comments

@robertgarrigos
Copy link

robertgarrigos commented Aug 29, 2023

This is the error I'm getting:

==> Installing puleeno/openlitespeed/openlitespeed dependency: puleeno/openlitespeed/admin_php
==> Patching
==> ./configure --disable-all --with-litespeed --enable-zip --enable-xml --enable-json --enable-sockets --enable-session --enable-posix --enable-bcmath --with-libzip --with-openssl=/opt/homeb
==> make
Last 15 lines from /Users/robert/Library/Logs/Homebrew/admin_php/02.make:
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/cli/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/cli/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/cli/php_cli_server.c -o sapi/cli/php_cli_server.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/cli/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/cli/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/cli/ps_title.c -o sapi/cli/ps_title.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/cli/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/cli/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/cli/php_cli_process_title.c -o sapi/cli/php_cli_process_title.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang  -Isapi/litespeed/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/litespeed/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/litespeed/lsapi_main.c -o sapi/litespeed/lsapi_main.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang  -Isapi/litespeed/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/litespeed/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/litespeed/lsapilib.c -o sapi/litespeed/lsapilib.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/phpdbg/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/phpdbg.c -o sapi/phpdbg/phpdbg.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/phpdbg/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/phpdbg_parser.c -o sapi/phpdbg/phpdbg_parser.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/phpdbg/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/phpdbg_lexer.c -o sapi/phpdbg/phpdbg_lexer.lo
/bin/sh /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/libtool --silent --preserve-dup-deps --mode=compile clang -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/phpdbg/ -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/ -DPHP_ATOM_INC -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/main -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27 -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/ext/date/lib -I/opt/homebrew/opt/openssl@1.1/include -I/opt/homebrew/opt/sqlite/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include -I/opt/homebrew/opt/expat/include -I/opt/homebrew/Cellar/libzip/1.10.1/include -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/TSRM -I/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/Zend  -no-cpp-precomp  -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/phpdbg/phpdbg_prompt.c -o sapi/phpdbg/phpdbg_prompt.lo
/private/tmp/admin_php-20230829-27862-1ikmosh/php-7.3.27/sapi/litespeed/lsapi_main.c:1806:5: error: call to undeclared function 'php_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    php_header();
    ^
1 error generated.
make: *** [sapi/litespeed/lsapi_main.lo] Error 1
make: *** Waiting for unfinished jobs....

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/puleeno/homebrew-openlitespeed/issues

admin_php's formula is deprecated.
@desmith
Copy link

desmith commented Jan 10, 2024

I'm getting the same error -- is there any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants