puleeno / homebrew-openlitespeed Goto Github PK
View Code? Open in Web Editor NEWOpenlitespeed for Homebrew
License: GNU General Public License v3.0
Openlitespeed for Homebrew
License: GNU General Public License v3.0
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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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.
Hi
I am getting this error on an M2 MBA.
Cheers
Mike
`This file contains any messages produced by compilers etc while
running configure, to aid debugging if configure script makes a mistake.
configure
=== udns package
checking for C compiler
=== $CC (clang)
checking whenever C compiler (clang) is GNU CC
=== yes
checking whenever the C compiler (clang -Wall -W -O2 -pipe)
can produce executables
=== yes
checking for ranlib
=== ranlib
checking for getopt()
=== yes
checking for libraries needed for socket and connect
==== Command invocation failed. Command line was:
clang -Wall -W -O2 -pipe conftest.c -o conftest
==== compiler input was:
int main() { socket(); connect(); return 0; }
==== output was:
conftest.c:1:14: error: implicit declaration of function 'socket' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int main() { socket(); connect(); return 0; }
^
conftest.c:1:24: error: implicit declaration of function 'connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int main() { socket(); connect(); return 0; }
^
2 errors generated.
====
==== Command invocation failed. Command line was:
clang -Wall -W -O2 -pipe conftest.c -o conftest -lsocket -lnsl
==== compiler input was:
int main() { socket(); connect(); return 0; }
==== output was:
conftest.c:1:14: error: implicit declaration of function 'socket' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int main() { socket(); connect(); return 0; }
^
conftest.c:1:24: error: implicit declaration of function 'connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int main() { socket(); connect(); return 0; }
^
2 errors generated.
====
=== not found
=== FATAL: cannot find libraries needed for sockets
`
the url https://openlitespeed.org/packages/openlitespeed-1.4.41.src.tgz
doesn't exist anymore, giving a 404 error, the last version of openlitespeed is 1.7.5 https://openlitespeed.org/packages/openlitespeed-1.7.5.src.tgz
Hi
I succeeded installing this on an Intel Mac Mini with a few issues along the way:
lswsctrl
/usr/local/Cellar/openlitespeed/1.4.51/
./configure --prefix=/usr/local/Cellar/openlitespeed/1.7.16 --sysconfdir=/usr/local/etc/openlitespeed --with-user=ME
I have created a program to manage the local web service environment. Now I want to integrate with openlitespeed, and I found this repository, but the supported version of openlitespeed is a bit old. Can upgrade to the latest version of openlitespeed?
Add new LsPHP verion
Try build new version with bottle support
Version: 1.7.3
==> ./configure --prefix=/usr/local/Cellar/openlitespeed/1.4.38 --sysconfdir=/us
==> make
==> make install
Last 15 lines from /Users/puleeno/Library/Logs/Homebrew/openlitespeed/03.make:
checking libxml2 install dir... no
checking for OpenSSL support... no
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for PCRE library to use... bundled
checking whether to enable the SQLite3 extension... no
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz
ERROR Could not configure PHP build
-e Final checking found admin_php not exists, installation abort.
make[3]: *** [install-data-hook] Error 1
make[2]: *** [install-data-am] Error 2
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/puleeno/homebrew-openlitespeed/issues
Make lsphp 8 to test new PHP features
To decrease install time via build from source
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.