Git Product home page Git Product logo

homebrew-openlitespeed's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homebrew-openlitespeed's Issues

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

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.

Getting this error

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
`

Update Openlitespeed download

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

Succeeded On Mac mini I7 with a few problems

Hi
I succeeded installing this on an Intel Mac Mini with a few issues along the way:

  1. You should note that one needs to make sure the service is starting in the Login items and it is necessary to start the server at the CLI with lswsctrl
  2. A log folder needs to be created at /usr/local/Cellar/openlitespeed/1.4.51/
  3. I tried to upgrade to the latest version โ€“ 1.7.16 โ€“ but it's hanging on ./configure --prefix=/usr/local/Cellar/openlitespeed/1.7.16 --sysconfdir=/usr/local/etc/openlitespeed --with-user=ME

Can upgrade to the latest version of openlitespeed?

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?

Install error on MAC OSX Mojave 10.14

==> ./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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.