Coder Social home page Coder Social logo

homebrew-nginx's Introduction

NGINX Homebrew Tap

This tap is designed specifically for a custom build of NGINX with more module options.

How do I install these formule (NGINX Modules)?

Once the tap is installed, you can install nginx-full with optional additional modules:

brew tap denji/nginx
brew install nginx-full --with-upload-module

For a list of available configuration options run:

brew options nginx-full
brew info nginx-full

What about conflicts?

You are free to install this version alongside a current install of NGINX from Homebrew/homebrew if you wish. However, they cannot be linked at the same time. To switch between them use brew's built in linking system.

brew unlink nginx
brew link nginx-full

Documentation

brew help, man brew or check Homebrew's documentation.

Contributing

Please see the contributing guide.

How to submit a new formula

  • Fork this repository on GitHub.
  • Clone to your Mac.
  • Read and look at the other formule here.
  • In your locally cloned homebrew-nginx repo, create a new branch: git checkout --branch my_new_formula
  • Write/edit your formula (ruby file). Check Homebrew's documentation for details.
  • Test it locally! brew install ./my-new-formula.rb. Does it install? Note, ./<formula>.rb will target the local file.
  • git push --set-upstream origin my-new-formula to get it into your GitHub fork as a new branch.
  • If you have to change something, add a commit and git push.
  • On GitHub, select your new branch and then click the "Pull Request" button.

homebrew-nginx's People

Contributors

ajayk avatar akagi201 avatar allard avatar bfontaine avatar cono avatar denji avatar durango avatar fdietz avatar fengqi avatar ilovezfs avatar jacknagel avatar jellyfrog avatar koluke avatar laggardkernel avatar leonklingele avatar marcqualie avatar mariuswilms avatar mike-kfed avatar mikemcquaid avatar mikz avatar moonming avatar mtoschi avatar nikolaymurha avatar ninjapenguin avatar pthariensflame avatar raphaelcohn avatar samgranieri avatar slact avatar tamird avatar tei1988 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-nginx's Issues

array-var-nginx-module version

Homebrew is unable to detect version from url as it is now:

url 'https://github.com/agentzh/array-var-nginx-module/archive/46767472df.tar.gz'

This for example shows when searching for formulas, prune, doctor possibly more:

Error: Failed to import: array-var-nginx-module
invalid attribute: version

Would it be possible to tag valid version for this formula ?

Originally reported to Homebrew/legacy-homebrew/issues/25047

Installation error : Error: No such file or directory - objs/nginx.8

==> Installing nginx-full from homebrew/homebrew-nginx
==> Downloading http://nginx.org/download/nginx-1.8.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-full-1.8.0.tar.gz
==> Verifying nginx-full-1.8.0.tar.gz checksum
tar xf /Library/Caches/Homebrew/nginx-full-1.8.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.8.0_2 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.8.0_2/bin/nginx --with-cc-opt=-I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include --with-ld-opt=-L/usr/local/lib -L/usr/local/Cellar/pcre/8.37/lib -L/usr/local/Cellar/openssl/1.0.2c/lib --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log
checking for OS
 + Darwin 14.3.0 x86_64
checking for C compiler ... found
 + using Clang C compiler
 + clang version: 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
checking for --with-ld-opt="-L/usr/local/lib -L/usr/local/Cellar/pcre/8.37/lib -L/usr/local/Cellar/openssl/1.0.2c/lib" ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... not found
checking for Darwin specific features
 + kqueue found
checking for kqueue's EVFILT_TIMER ... found
checking for Darwin 64-bit kqueue millisecond timeout bug ... not found
checking for sendfile() ... found
checking for atomic(3) ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for crypt() ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... not found
checking for O_DIRECT ... not found
checking for F_NOCACHE ... found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for TCP_DEFER_ACCEPT ... not found
checking for TCP_KEEPIDLE ... not found
checking for TCP_FASTOPEN ... not found
checking for TCP_INFO ... not found
checking for accept4() ... not found
checking for eventfd() ... not found
checking for eventfd() (SYS_eventfd) ... not found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... not found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found but is not working
checking for System V shared memory ... found
checking for POSIX semaphores ... found but is not working
checking for POSIX semaphores in libpthread ... found but is not working
checking for POSIX semaphores in librt ... not found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
creating objs/Makefile

Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library

  nginx path prefix: "/usr/local/Cellar/nginx-full/1.8.0_2"
  nginx binary file: "/usr/local/Cellar/nginx-full/1.8.0_2/bin/nginx"
  nginx configuration prefix: "/usr/local/etc/nginx"
  nginx configuration file: "/usr/local/etc/nginx/nginx.conf"
  nginx pid file: "/usr/local/var/run/nginx.pid"
  nginx error log file: "/usr/local/var/log/nginx/error.log"
  nginx http access log file: "/usr/local/var/log/nginx/access.log"
  nginx http client request body temporary files: "/usr/local/var/run/nginx/client_body_temp"
  nginx http proxy temporary files: "/usr/local/var/run/nginx/proxy_temp"
  nginx http fastcgi temporary files: "/usr/local/var/run/nginx/fastcgi_temp"
  nginx http uwsgi temporary files: "/usr/local/var/run/nginx/uwsgi_temp"
  nginx http scgi temporary files: "/usr/local/var/run/nginx/scgi_temp"

==> make install
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f objs/Makefile install
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/nginx.o \
        src/core/nginx.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_log.o \
        src/core/ngx_log.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_palloc.o \
        src/core/ngx_palloc.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_array.o \
        src/core/ngx_array.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_list.o \
        src/core/ngx_list.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_hash.o \
        src/core/ngx_hash.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_buf.o \
        src/core/ngx_buf.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_queue.o \
        src/core/ngx_queue.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_output_chain.o \
        src/core/ngx_output_chain.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_string.o \
        src/core/ngx_string.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_parse.o \
        src/core/ngx_parse.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_inet.o \
        src/core/ngx_inet.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_file.o \
        src/core/ngx_file.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_crc32.o \
        src/core/ngx_crc32.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_murmurhash.o \
        src/core/ngx_murmurhash.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_md5.o \
        src/core/ngx_md5.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_rbtree.o \
        src/core/ngx_rbtree.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_radix_tree.o \
        src/core/ngx_radix_tree.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_slab.o \
        src/core/ngx_slab.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_times.o \
        src/core/ngx_times.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_shmtx.o \
        src/core/ngx_shmtx.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_connection.o \
        src/core/ngx_connection.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_cycle.o \
        src/core/ngx_cycle.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_spinlock.o \
        src/core/ngx_spinlock.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_cpuinfo.o \
        src/core/ngx_cpuinfo.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_conf_file.o \
        src/core/ngx_conf_file.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_resolver.o \
        src/core/ngx_resolver.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_open_file_cache.o \
        src/core/ngx_open_file_cache.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_crypt.o \
        src/core/ngx_crypt.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_proxy_protocol.o \
        src/core/ngx_proxy_protocol.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_syslog.o \
        src/core/ngx_syslog.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event.o \
        src/event/ngx_event.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_timer.o \
        src/event/ngx_event_timer.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_posted.o \
        src/event/ngx_event_posted.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_accept.o \
        src/event/ngx_event_accept.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_connect.o \
        src/event/ngx_event_connect.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_pipe.o \
        src/event/ngx_event_pipe.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_time.o \
        src/os/unix/ngx_time.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_errno.o \
        src/os/unix/ngx_errno.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_alloc.o \
        src/os/unix/ngx_alloc.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_files.o \
        src/os/unix/ngx_files.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_socket.o \
        src/os/unix/ngx_socket.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_recv.o \
        src/os/unix/ngx_recv.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_readv_chain.o \
        src/os/unix/ngx_readv_chain.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_udp_recv.o \
        src/os/unix/ngx_udp_recv.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_send.o \
        src/os/unix/ngx_send.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_writev_chain.o \
        src/os/unix/ngx_writev_chain.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_channel.o \
        src/os/unix/ngx_channel.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_shmem.o \
        src/os/unix/ngx_shmem.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_process.o \
        src/os/unix/ngx_process.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_daemon.o \
        src/os/unix/ngx_daemon.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_setaffinity.o \
        src/os/unix/ngx_setaffinity.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_setproctitle.o \
        src/os/unix/ngx_setproctitle.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_posix_init.o \
        src/os/unix/ngx_posix_init.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_user.o \
        src/os/unix/ngx_user.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_process_cycle.o \
        src/os/unix/ngx_process_cycle.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_darwin_init.o \
        src/os/unix/ngx_darwin_init.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/modules/ngx_kqueue_module.o \
        src/event/modules/ngx_kqueue_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_darwin_sendfile_chain.o \
        src/os/unix/ngx_darwin_sendfile_chain.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_openssl.o \
        src/event/ngx_event_openssl.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/ngx_event_openssl_stapling.o \
        src/event/ngx_event_openssl_stapling.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/core/ngx_regex.o \
        src/core/ngx_regex.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http.o \
        src/http/ngx_http.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_core_module.o \
        src/http/ngx_http_core_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_special_response.o \
        src/http/ngx_http_special_response.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_request.o \
        src/http/ngx_http_request.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_parse.o \
        src/http/ngx_http_parse.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_header_filter_module.o \
        src/http/ngx_http_header_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_write_filter_module.o \
        src/http/ngx_http_write_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_copy_filter_module.o \
        src/http/ngx_http_copy_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_log_module.o \
        src/http/modules/ngx_http_log_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_request_body.o \
        src/http/ngx_http_request_body.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_variables.o \
        src/http/ngx_http_variables.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_script.o \
        src/http/ngx_http_script.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_upstream.o \
        src/http/ngx_http_upstream.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_upstream_round_robin.o \
        src/http/ngx_http_upstream_round_robin.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_parse_time.o \
        src/http/ngx_http_parse_time.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_static_module.o \
        src/http/modules/ngx_http_static_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_index_module.o \
        src/http/modules/ngx_http_index_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_chunked_filter_module.o \
        src/http/modules/ngx_http_chunked_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_range_filter_module.o \
        src/http/modules/ngx_http_range_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_headers_filter_module.o \
        src/http/modules/ngx_http_headers_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_not_modified_filter_module.o \
        src/http/modules/ngx_http_not_modified_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_file_cache.o \
        src/http/ngx_http_file_cache.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_gzip_filter_module.o \
        src/http/modules/ngx_http_gzip_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/ngx_http_postpone_filter_module.o \
        src/http/ngx_http_postpone_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_ssi_filter_module.o \
        src/http/modules/ngx_http_ssi_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_charset_filter_module.o \
        src/http/modules/ngx_http_charset_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_userid_filter_module.o \
        src/http/modules/ngx_http_userid_filter_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_autoindex_module.o \
        src/http/modules/ngx_http_autoindex_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_auth_basic_module.o \
        src/http/modules/ngx_http_auth_basic_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_access_module.o \
        src/http/modules/ngx_http_access_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_limit_conn_module.o \
        src/http/modules/ngx_http_limit_conn_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_limit_req_module.o \
        src/http/modules/ngx_http_limit_req_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_geo_module.o \
        src/http/modules/ngx_http_geo_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_map_module.o \
        src/http/modules/ngx_http_map_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_split_clients_module.o \
        src/http/modules/ngx_http_split_clients_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_referer_module.o \
        src/http/modules/ngx_http_referer_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_rewrite_module.o \
        src/http/modules/ngx_http_rewrite_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_ssl_module.o \
        src/http/modules/ngx_http_ssl_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_proxy_module.o \
        src/http/modules/ngx_http_proxy_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_fastcgi_module.o \
        src/http/modules/ngx_http_fastcgi_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_uwsgi_module.o \
        src/http/modules/ngx_http_uwsgi_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_scgi_module.o \
        src/http/modules/ngx_http_scgi_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_memcached_module.o \
        src/http/modules/ngx_http_memcached_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_empty_gif_module.o \
        src/http/modules/ngx_http_empty_gif_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_browser_module.o \
        src/http/modules/ngx_http_browser_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_upstream_hash_module.o \
        src/http/modules/ngx_http_upstream_hash_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
        src/http/modules/ngx_http_upstream_ip_hash_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
        src/http/modules/ngx_http_upstream_least_conn_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
        -o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
        src/http/modules/ngx_http_upstream_keepalive_module.c
clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2c/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/ngx_modules.o \
        objs/ngx_modules.c
clang -o objs/nginx \
    objs/src/core/nginx.o \
    objs/src/core/ngx_log.o \
    objs/src/core/ngx_palloc.o \
    objs/src/core/ngx_array.o \
    objs/src/core/ngx_list.o \
    objs/src/core/ngx_hash.o \
    objs/src/core/ngx_buf.o \
    objs/src/core/ngx_queue.o \
    objs/src/core/ngx_output_chain.o \
    objs/src/core/ngx_string.o \
    objs/src/core/ngx_parse.o \
    objs/src/core/ngx_inet.o \
    objs/src/core/ngx_file.o \
    objs/src/core/ngx_crc32.o \
    objs/src/core/ngx_murmurhash.o \
    objs/src/core/ngx_md5.o \
    objs/src/core/ngx_rbtree.o \
    objs/src/core/ngx_radix_tree.o \
    objs/src/core/ngx_slab.o \
    objs/src/core/ngx_times.o \
    objs/src/core/ngx_shmtx.o \
    objs/src/core/ngx_connection.o \
    objs/src/core/ngx_cycle.o \
    objs/src/core/ngx_spinlock.o \
    objs/src/core/ngx_cpuinfo.o \
    objs/src/core/ngx_conf_file.o \
    objs/src/core/ngx_resolver.o \
    objs/src/core/ngx_open_file_cache.o \
    objs/src/core/ngx_crypt.o \
    objs/src/core/ngx_proxy_protocol.o \
    objs/src/core/ngx_syslog.o \
    objs/src/event/ngx_event.o \
    objs/src/event/ngx_event_timer.o \
    objs/src/event/ngx_event_posted.o \
    objs/src/event/ngx_event_accept.o \
    objs/src/event/ngx_event_connect.o \
    objs/src/event/ngx_event_pipe.o \
    objs/src/os/unix/ngx_time.o \
    objs/src/os/unix/ngx_errno.o \
    objs/src/os/unix/ngx_alloc.o \
    objs/src/os/unix/ngx_files.o \
    objs/src/os/unix/ngx_socket.o \
    objs/src/os/unix/ngx_recv.o \
    objs/src/os/unix/ngx_readv_chain.o \
    objs/src/os/unix/ngx_udp_recv.o \
    objs/src/os/unix/ngx_send.o \
    objs/src/os/unix/ngx_writev_chain.o \
    objs/src/os/unix/ngx_channel.o \
    objs/src/os/unix/ngx_shmem.o \
    objs/src/os/unix/ngx_process.o \
    objs/src/os/unix/ngx_daemon.o \
    objs/src/os/unix/ngx_setaffinity.o \
    objs/src/os/unix/ngx_setproctitle.o \
    objs/src/os/unix/ngx_posix_init.o \
    objs/src/os/unix/ngx_user.o \
    objs/src/os/unix/ngx_process_cycle.o \
    objs/src/os/unix/ngx_darwin_init.o \
    objs/src/event/modules/ngx_kqueue_module.o \
    objs/src/os/unix/ngx_darwin_sendfile_chain.o \
    objs/src/event/ngx_event_openssl.o \
    objs/src/event/ngx_event_openssl_stapling.o \
    objs/src/core/ngx_regex.o \
    objs/src/http/ngx_http.o \
    objs/src/http/ngx_http_core_module.o \
    objs/src/http/ngx_http_special_response.o \
    objs/src/http/ngx_http_request.o \
    objs/src/http/ngx_http_parse.o \
    objs/src/http/ngx_http_header_filter_module.o \
    objs/src/http/ngx_http_write_filter_module.o \
    objs/src/http/ngx_http_copy_filter_module.o \
    objs/src/http/modules/ngx_http_log_module.o \
    objs/src/http/ngx_http_request_body.o \
    objs/src/http/ngx_http_variables.o \
    objs/src/http/ngx_http_script.o \
    objs/src/http/ngx_http_upstream.o \
    objs/src/http/ngx_http_upstream_round_robin.o \
    objs/src/http/ngx_http_parse_time.o \
    objs/src/http/modules/ngx_http_static_module.o \
    objs/src/http/modules/ngx_http_index_module.o \
    objs/src/http/modules/ngx_http_chunked_filter_module.o \
    objs/src/http/modules/ngx_http_range_filter_module.o \
    objs/src/http/modules/ngx_http_headers_filter_module.o \
    objs/src/http/modules/ngx_http_not_modified_filter_module.o \
    objs/src/http/ngx_http_file_cache.o \
    objs/src/http/modules/ngx_http_gzip_filter_module.o \
    objs/src/http/ngx_http_postpone_filter_module.o \
    objs/src/http/modules/ngx_http_ssi_filter_module.o \
    objs/src/http/modules/ngx_http_charset_filter_module.o \
    objs/src/http/modules/ngx_http_userid_filter_module.o \
    objs/src/http/modules/ngx_http_autoindex_module.o \
    objs/src/http/modules/ngx_http_auth_basic_module.o \
    objs/src/http/modules/ngx_http_access_module.o \
    objs/src/http/modules/ngx_http_limit_conn_module.o \
    objs/src/http/modules/ngx_http_limit_req_module.o \
    objs/src/http/modules/ngx_http_geo_module.o \
    objs/src/http/modules/ngx_http_map_module.o \
    objs/src/http/modules/ngx_http_split_clients_module.o \
    objs/src/http/modules/ngx_http_referer_module.o \
    objs/src/http/modules/ngx_http_rewrite_module.o \
    objs/src/http/modules/ngx_http_ssl_module.o \
    objs/src/http/modules/ngx_http_proxy_module.o \
    objs/src/http/modules/ngx_http_fastcgi_module.o \
    objs/src/http/modules/ngx_http_uwsgi_module.o \
    objs/src/http/modules/ngx_http_scgi_module.o \
    objs/src/http/modules/ngx_http_memcached_module.o \
    objs/src/http/modules/ngx_http_empty_gif_module.o \
    objs/src/http/modules/ngx_http_browser_module.o \
    objs/src/http/modules/ngx_http_upstream_hash_module.o \
    objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
    objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
    objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
    objs/ngx_modules.o \
    -L/usr/local/lib -L/usr/local/Cellar/pcre/8.37/lib -L/usr/local/Cellar/openssl/1.0.2c/lib -lpcre -lssl -lcrypto -lz
test -d '/usr/local/Cellar/nginx-full/1.8.0_2' || mkdir -p '/usr/local/Cellar/nginx-full/1.8.0_2'
test -d '/usr/local/Cellar/nginx-full/1.8.0_2/bin'      || mkdir -p '/usr/local/Cellar/nginx-full/1.8.0_2/bin'
test ! -f '/usr/local/Cellar/nginx-full/1.8.0_2/bin/nginx'      || mv '/usr/local/Cellar/nginx-full/1.8.0_2/bin/nginx'          '/usr/local/Cellar/nginx-full/1.8.0_2/bin/nginx.old'
cp objs/nginx '/usr/local/Cellar/nginx-full/1.8.0_2/bin/nginx'
test -d '/usr/local/etc/nginx'      || mkdir -p '/usr/local/etc/nginx'
cp conf/koi-win '/usr/local/etc/nginx'
cp conf/koi-utf '/usr/local/etc/nginx'
cp conf/win-utf '/usr/local/etc/nginx'
test -f '/usr/local/etc/nginx/mime.types'       || cp conf/mime.types '/usr/local/etc/nginx'
cp conf/mime.types '/usr/local/etc/nginx/mime.types.default'
test -f '/usr/local/etc/nginx/fastcgi_params'       || cp conf/fastcgi_params '/usr/local/etc/nginx'
cp conf/fastcgi_params      '/usr/local/etc/nginx/fastcgi_params.default'
test -f '/usr/local/etc/nginx/fastcgi.conf'         || cp conf/fastcgi.conf '/usr/local/etc/nginx'
cp conf/fastcgi.conf '/usr/local/etc/nginx/fastcgi.conf.default'
test -f '/usr/local/etc/nginx/uwsgi_params'         || cp conf/uwsgi_params '/usr/local/etc/nginx'
cp conf/uwsgi_params        '/usr/local/etc/nginx/uwsgi_params.default'
test -f '/usr/local/etc/nginx/scgi_params'      || cp conf/scgi_params '/usr/local/etc/nginx'
cp conf/scgi_params         '/usr/local/etc/nginx/scgi_params.default'
test -f '/usr/local/etc/nginx/nginx.conf'       || cp conf/nginx.conf '/usr/local/etc/nginx/nginx.conf'
cp conf/nginx.conf '/usr/local/etc/nginx/nginx.conf.default'
test -d '/usr/local/var/run'        || mkdir -p '/usr/local/var/run'
test -d '/usr/local/var/log/nginx' ||       mkdir -p '/usr/local/var/log/nginx'
test -d '/usr/local/Cellar/nginx-full/1.8.0_2/html'         || cp -R html '/usr/local/Cellar/nginx-full/1.8.0_2'
test -d '/usr/local/var/log/nginx' ||       mkdir -p '/usr/local/var/log/nginx'

uninitialized constant FancyindexNginxModule

Hi, Im hitting this bug:

$ brew install fancyindex-nginx-module
Error: uninitialized constant FancyindexNginxModule
Please report this bug:
https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/formulary.rb:13:in const_get' /usr/local/Library/Homebrew/formulary.rb:13:inget_formula_class'
/usr/local/Library/Homebrew/formulary.rb:51:in klass' /usr/local/Library/Homebrew/formulary.rb:90:inget_formula'
/usr/local/Library/Homebrew/formulary.rb:175:in factory' /usr/local/Library/Homebrew/formula.rb:431:infactory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in formulae' /usr/local/Library/Homebrew/extend/ARGV.rb:12:inmap'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in formulae' /usr/local/Library/Homebrew/cmd/install.rb:22:ininstall'
/usr/local/Library/brew.rb:95:in `send'
/usr/local/Library/brew.rb:95

any ideas?

--with-push-stream-module is broken

$ brew install nginx-full --with-push-stream-module
==> Installing nginx-full from homebrew/homebrew-nginx
==> Installing nginx-full dependency: push-stream-nginx-module
==> Downloading https://github.com/wandenberg/nginx-push-stream-module/archive/master.tar.gz
Already downloaded: /Library/Caches/Homebrew/push-stream-nginx-module-0.4.1-pre.tar.gz
Error: SHA1 mismatch
Expected: 9d46577c650525b23161dd89d37ca9454dde1f0e
Actual: 04c0774a63eb1885edd269e1c978c6bcb9b955a5
Archive: /Library/Caches/Homebrew/push-stream-nginx-module-0.4.1-pre.tar.gz
To retry an incomplete download, remove the file above.

Nginx#passenger_config_args is a bit brittle

I had a whole bunch of trouble installing nginx-full with passenger last week because the installer failed to access passenger-config for the installation.
I fixed it by changing the recipes passenger_config_args to match the default nginx (non-full) recipe like so (so primarily by using HOMEBREW_PREFIX):

https://github.com/Homebrew/homebrew-nginx/blob/master/nginx-full.rb#L133

  def passenger_config_args
    passenger_config = "#{HOMEBREW_PREFIX}/opt/passenger/bin/passenger-config"
    nginx_ext = `#{passenger_config} --nginx-addon-dir`.chomp

    if File.directory?(nginx_ext)
      return "--add-module=#{nginx_ext}"
    end

    puts "Unable to install nginx with passenger support."
    exit
  end

shared memory zone "push_module" was locked by 13877 救命啊!

I have no idea about this mistake.
2015/12/29 14:23:58 [alert] 6625#0: worker process 13877 exited on signal 11
2015/12/29 14:23:58 [alert] 6625#0: shared memory zone "push_module" was locked by 13877
2015/12/29 14:23:58 [alert] 6625#0: worker process 13906 exited on signal 11
2015/12/29 14:23:58 [alert] 6625#0: shared memory zone "push_module" was locked by 13906
2015/12/29 14:23:58 [alert] 6625#0: worker process 13905 exited on signal 11
2015/12/29 14:23:58 [alert] 6625#0: shared memory zone "push_module" was locked by 13905
2015/12/29 14:23:59 [alert] 6625#0: worker process 13917 exited on signal 11
2015/12/29 14:23:59 [alert] 6625#0: shared memory zone "push_module" was locked by 13917
2015/12/29 14:24:03 [alert] 6625#0: worker process 13938 exited on signal 11
2015/12/29 14:24:03 [alert] 6625#0: shared memory zone "push_module" was locked by 13938

Problem installing on OS X 10.10.2

When attempting to install, I get the following error. This is with a vanilla install of homebrew.

==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.8.0_2 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr
==> make
==> make install
test -d '/usr/local/etc/nginx'      || mkdir -p '/usr/local/etc/nginx'
cp conf/koi-win '/usr/local/etc/nginx'
cp: /usr/local/etc/nginx/koi-win: Permission denied
make[1]: *** [install] Error 1
make: *** [install] Error 2

SHA1 mismatch for push-stream-nginx-module

So I was trying to install the push-stream-nginx-module and got the sha1 hash mismatch. Now I'd be happy to fix this, just not 100% what is the right way to do it.
The way I see it is that if master.zip is required then as soon as someone pushes to master the hash will not be correct anymore or am I missing something? GitHub also allows download of a specific hash like: https://github.com/wandenberg/nginx-push-stream-module/archive/467376d3c2.zip

If someone can give me some pointers to what is to correct way to fix it, I'd be happy to create a PR later.

➜  Homebrew  brew install push-stream-nginx-module
==> Installing push-stream-nginx-module from homebrew/homebrew-nginx
==> Downloading https://github.com/wandenberg/nginx-push-stream-module/archive/master.zip
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 17812cd68297c67a595d6a580f138cc9cc382927
Actual: 4aba7fbf52c1727c7f7d23bded0c61057739da46
Archive: /Library/Caches/Homebrew/push-stream-nginx-module-0.4.1-pre.zip
To retry an incomplete download, remove the file above.

MacBook Pro OSX 10.10

nginx-full fails to build on 10.10.2

When trying to build nginx-full on 10.10.2 it fails with the following error:

==> Upgrading 1 outdated package, with result:
nginx-full 1.8.0_1
==> Upgrading nginx-full
==> Downloading http://nginx.org/download/nginx-1.8.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-full-1.8.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.8.0_1 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.8.0_1/bin/ngi
==> make
                                     ~~~~~~~~~~~~~~~~~~~~  ^
4 errors generated.
make[1]: *** [objs/addon/cache-purge-nginx-module/ngx_cache_purge_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
couldn't understand kern.osversion `14.1.0'

Link to full build logs https://gist.github.com/anonymous/433526789b15de527497

Nginx not serving from localhost but will serve from 127.0.0.1

I use brew-services and love it but recently I noticed my nginx server is no longer serving files from localhost:8080

It will serve from 127.0.0.1:8080

Any ideas if this has something to do with running everything from brew-services?

I've installed all my software with brew PHP56, mysql, redis, memcached etc and things were working like expected until a couple of brew upgrade ago.

nginx-full with LDAP ld error (OS X 10.10.3)

From @jesse-gallagher on May 18, 2015 13:53

I've run into trouble trying to install nginx-full with the auth-ldap module, specifically encountering this error near the end:

Undefined symbols for architecture x86_64:
  "_ber_sockbuf_add_io", referenced from:
      _ngx_http_auth_ldap_connection_established in ngx_http_auth_ldap_module.o

I've tried a number of troubleshooting techniques I've seen with similar problems - re-running xcode-select, reinstalling the openldap package, brew update, and a couple others, though my inexperience in these matters means I'm not sure if I'm following the right paths. I've tried including --HEAD in the command, but that fails with this same problem.

It looks like there exist libldap.dylib (and similar) files in both /usr/lib and /usr/local/lib, all of which include x86_64.

The specific command I'm executing is brew install nginx-full --with-auth-ldap-module -v and I've created a Gist of the four log files, the last bit of the output here, and the listings of the ldap lib files here: https://gist.github.com/jesse-gallagher/53d7f33ab1e4d757198b

If there's any other useful information I can cull, I'll be glad to track it down.

Copied from original issue: Homebrew/legacy-homebrew#39873

fails to install --with-google-perftools

checking for Google perftools in /opt/local/ ... not found

./configure: error: the Google perftools module requires the Google perftools
library. You can either do not enable the module or install the library.

incorrect plist location given upon install

When installing nginx via homebrew, you are given incorrect information on how to start nginx with launchctl:

Then to load nginx now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
Or, if you don't want/need launchctl, you can just run:
    nginx
==> Summary
🍺  /usr/local/Cellar/nginx/1.6.0_1: 7 files, 912K

When in fact that plist does not exist:

samm-mbp ~ % launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
launchctl: Couldn't stat("/Users/samm/Library/LaunchAgents/homebrew.mxcl.nginx.plist"): No such file or directory
nothing found to load

Instructions on blog not working

brew install nginx --with-echo
does not work

It appears that it is giving the same output as a regular 'brew install nginx'

brew install nginx --with-echo
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/nginx-1.4.5.mavericks.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-1.4.5.mavericks.bottle.tar.gz
==> Pouring nginx-1.4.5.mavericks.bottle.tar.gz
==> Caveats
Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

To have launchd start nginx at login:
    ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents
Then to load nginx now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
Or, if you don't want/need launchctl, you can just run:
    nginx

"server" directive is not allowed here

On a fresh Yosemite I get this error:

nginx: [emerg] "server" directive is not allowed here in /usr/local/etc/nginx/servers/myserver:1

Found this thread at serverfault and moving the include statement here to inside http clause makes it work.

openresty installation failed: 'math.h' file not found

The output:

zsh-5.1% brew install homebrew/nginx/openresty
==> Tapping homebrew/nginx
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-nginx'...
remote: Counting objects: 62, done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 62 (delta 0), reused 46 (delta 0), pack-reused 0
Unpacking objects: 100% (62/62), done.
Checking connectivity... done.
Tapped 55 formulae (142 files, 592K)
==> Installing openresty from homebrew/homebrew-nginx
==> Downloading https://openresty.org/download/ngx_openresty-1.9.3.1.tar.gz
######################################################################## 100,0%
==> ./configure --prefix=/usr/local/Cellar/openresty/1.9.3.1 --pid-path=/usr/local/var/run/openresty.pid --lock-path=/usr/local/var/run/openresty.lock --sbin-
Last 15 lines from /Users/cacilhas/Library/Logs/Homebrew/openresty/01.configure:
clang: warning: no such sysroot directory: ''
clang: warning: no such sysroot directory: ''
clang: warning: no such sysroot directory: ''
clang: warning: no such sysroot directory: ''
clang: warning: no such sysroot directory: ''
clang: warning: no such sysroot directory: ''
clang: warning: no such sysroot directory: ''
HOSTCC    host/minilua.o
host/minilua.c:34:10: fatal error: 'math.h' file not found
#include <math.h>
         ^
1 error generated.
make[1]: *** [host/minilua.o] Error 1
make: *** [default] Error 2
ERROR: failed to run command: gmake TARGET_STRIP=@: CCDEBUG=-g CC=cc PREFIX=/usr/local/Cellar/openresty/1.9.3.1/luajit

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/homebrew/homebrew-nginx/issues

undefined method `desc' for NginxFull:Class

sh-3.2# brew install nginx-full
Error: undefined method desc' for NginxFull:Class Please report this bug: https://github.com/Homebrew/homebrew/wiki/troubleshooting /usr/local/Library/Taps/homebrew/homebrew-nginx/Formula/nginx-full.rb:2:inclass:NginxFull'
/usr/local/Library/Taps/homebrew/homebrew-nginx/Formula/nginx-full.rb:1:in <top (required)>' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/local/Library/Homebrew/formulary.rb:65:inklass'
/usr/local/Library/Homebrew/formulary.rb:50:in get_formula' /usr/local/Library/Homebrew/formulary.rb:198:infactory'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in block in formulae' /usr/local/Library/Homebrew/extend/ARGV.rb:16:inmap'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in formulae' /usr/local/Library/Homebrew/cmd/install.rb:28:ininstall'
/usr/local/Library/brew.rb:131:in `

'

Lua module does not compile

brew install nginx-full --with-lua-module
…
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.4.4 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.4.4/bin/nginx --with-cc-opt=-I/usr/local/include --with-ld-opt=-L/usr/local/lib --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-http_gzip_static_module --add-module=/usr/local/share/ngx-devel-kit --add-module=/usr/local/share/lua-nginx-module --add-module=/usr/local/share/lua-nginx-module --add-module=/usr/local/share/echo-nginx-module
==> make
    objs/addon/src/ngx_http_lua_timer.o
ld: 154 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [objs/nginx] Error 1
make: *** [build] Error 2
Error: Failed executing: make 
Error: Install failed.

Any ideas?

1.8.0 fails to install with -with-nginx-cache-purge-module

At the end of the MAKE:

/usr/local/share/cache-purge-nginx-module/ngx_cache_purge_module.c:301:60: error: member reference type 'int' is not a pointer
    if (ngx_http_cache_purge_init(r, flcf->upstream.cache->data,
                                     ~~~~~~~~~~~~~~~~~~~~  ^
/usr/local/share/cache-purge-nginx-module/ngx_cache_purge_module.c:449:60: error: member reference type 'int' is not a pointer
    if (ngx_http_cache_purge_init(r, plcf->upstream.cache->data,
                                     ~~~~~~~~~~~~~~~~~~~~  ^
/usr/local/share/cache-purge-nginx-module/ngx_cache_purge_module.c:562:60: error: member reference type 'int' is not a pointer
    if (ngx_http_cache_purge_init(r, slcf->upstream.cache->data,
                                     ~~~~~~~~~~~~~~~~~~~~  ^
/usr/local/share/cache-purge-nginx-module/ngx_cache_purge_module.c:680:60: error: member reference type 'int' is not a pointer
    if (ngx_http_cache_purge_init(r, ulcf->upstream.cache->data,
                                     ~~~~~~~~~~~~~~~~~~~~  ^
4 errors generated.
make[1]: *** [objs/addon/cache-purge-nginx-module/ngx_cache_purge_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
==> Formula
Tap: homebrew/homebrew-nginx
Path: /usr/local/Library/Taps/homebrew/homebrew-nginx/Formula/nginx-full.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 8d36ecfbfc1612283bcfa3fc29ec53b42fac6ae5
Last commit: 11 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit core2
OS X: 10.9.5-x86_64
Xcode: 6.2
CLT: 6.2.0.0.1.1424975374
Clang: 6.0 build 600
X11: N/A
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.6.0_65
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/bin:/usr/local/Library/ENV/4.3:/usr/local/opt/pcre/bin:/usr/local/opt/openssl/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/Library/Taps/homebrew/homebrew-boneyard/cmd:/usr/local/Library/ENV/scm

Error: nginx-full 1.8.0 did not build

new to brew.. invalid attribute: version

I'm new to homebrew and I just installed your ngnix yesterday.

When I did a brew doctor I get this:

% brew doctor                                                                        
Error: Failed to import: anti-ddos-nginx-module
invalid attribute: version
Error: Failed to import: captcha-nginx-module
invalid attribute: version
...

Assuming this is an ok place to ask this, do you have any tips for fixing this error?

Thanks!

SHA1 mismatch when installing --with-upload-module

I'm having trouble installing nginx-full with the upload module (I'm on OSX 10.9.5).
I get the following SHA1 mismatch error:

➜  ~  brew -v
Homebrew 0.9.5
➜  ~  brew install nginx-full --with-upload-module
==> Installing nginx-full from homebrew/homebrew-nginx
==> Installing nginx-full dependency: upload-nginx-module
==> Downloading https://github.com/vkholodkov/nginx-upload-module/archive/2.2.tar.gz
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: a7d31ac0358b86ff12a07bcda1e9a8714118c2bb
Actual: d25e781ff60237cfdbb3f011d159397f82ab7358
Archive: /Library/Caches/Homebrew/upload-nginx-module-2.2.0.tar.gz
To retry an incomplete download, remove the file above.

brew info openresty => Error: No available formula with the name "drizzle"

brew info openresty
homebrew/nginx/openresty: stable 1.9.7.1
Fast web app server
http://openresty.org
Not installed
From: https://github.com/Homebrew/homebrew-nginx/blob/master/Formula/openresty.rb
==> Dependencies
Required: pcre ✔, openssl ✔
Error: No available formula with the name "drizzle"

13: Pemission denied in /usr/local/var/sun/nginx/client_body_temp

System info

OS X 10.11.2
nginx 1.8.0

Today I got the following error in nginx logs while uploading a file:

2015/12/23 13:59:52 [crit] 53621#0: *2 open() "/usr/local/var/run/nginx/client_body_temp/0000000001" failed (13: Permission denied), client: 127.0.0.1 
// rest of logs...

I've googled a bit and finally found a solution which works.
The folder var wasn't executable (only drwx------), so I changed it

sudo chmod o+x /usr/local/var

I've also changed user to nobody (earlier set to my local user), but I still don't know whether it was causing the problem or not. I think that chmod o+x fixes the problem.

sudo chown -vhR nobody:admin /usr/local/var/run/nginx

Could this issue be fixed directly in the formula or it was the problem with my env configuration?

Fails to install with RTMP module

nginx 1.8.0

        -o objs/addon/rtmp-nginx-module/ngx_rtmp_shared.o \
        /usr/local/share/rtmp-nginx-module/ngx_rtmp_shared.c
In file included from /usr/local/share/rtmp-nginx-module/ngx_rtmp.c:11:
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:8: error: unknown type name 'ngx_thread_volatile'
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
       ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:39: error: expected ';' after top level declarator
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
                                      ^
                                      ;
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:36:1: error: unknown type name 'ngx_thread_volatile'
ngx_thread_volatile ngx_queue_t     ngx_rtmp_init_queue;
^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:36:32: error: expected ';' after top level declarator
ngx_thread_volatile ngx_queue_t     ngx_rtmp_init_queue;
                               ^
                               ;
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:841:21: error: use of undeclared identifier 'ngx_rtmp_init_queue'; did you mean 'ngx_rtmp_init_events'?
    ngx_queue_init(&ngx_rtmp_init_queue);
                    ^~~~~~~~~~~~~~~~~~~
                    ngx_rtmp_init_events
src/core/ngx_queue.h:25:6: note: expanded from macro 'ngx_queue_init'
    (q)->prev = q;                                                            \
     ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:366:1: note: 'ngx_rtmp_init_events' declared here
ngx_rtmp_init_events(ngx_conf_t *cf, ngx_rtmp_core_main_conf_t *cmcf)
^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:841:5: error: member reference base type 'ngx_int_t (ngx_conf_t *, ngx_rtmp_core_main_conf_t *)' is not a structure or union
    ngx_queue_init(&ngx_rtmp_init_queue);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/core/ngx_queue.h:25:8: note: expanded from macro 'ngx_queue_init'
    (q)->prev = q;                                                            \
    ~~~^ ~~~~
In file included from /usr/local/share/rtmp-nginx-module/ngx_rtmp_init.c:9:
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:8: error: unknown type name 'ngx_thread_volatile'
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
       ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:39: error: expected ';' after top level declarator
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
                                      ^
                                      ;
2 errors generated.
make[1]: *** [objs/addon/rtmp-nginx-module/ngx_rtmp_init.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:841:21: error: use of undeclared identifier 'ngx_rtmp_init_queue'; did you mean 'ngx_rtmp_init_events'?
    ngx_queue_init(&ngx_rtmp_init_queue);
                    ^~~~~~~~~~~~~~~~~~~
                    ngx_rtmp_init_events
src/core/ngx_queue.h:25:17: note: expanded from macro 'ngx_queue_init'
    (q)->prev = q;                                                            \
                ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:366:1: note: 'ngx_rtmp_init_events' declared here
ngx_rtmp_init_events(ngx_conf_t *cf, ngx_rtmp_core_main_conf_t *cmcf)
^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:841:21: error: use of undeclared identifier 'ngx_rtmp_init_queue'; did you mean 'ngx_rtmp_init_events'?
    ngx_queue_init(&ngx_rtmp_init_queue);
                    ^~~~~~~~~~~~~~~~~~~
                    ngx_rtmp_init_events
src/core/ngx_queue.h:26:6: note: expanded from macro 'ngx_queue_init'
    (q)->next = q
     ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:366:1: note: 'ngx_rtmp_init_events' declared here
ngx_rtmp_init_events(ngx_conf_t *cf, ngx_rtmp_core_main_conf_t *cmcf)
^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:841:5: error: member reference base type 'ngx_int_t (ngx_conf_t *, ngx_rtmp_core_main_conf_t *)' is not a structure or union
    ngx_queue_init(&ngx_rtmp_init_queue);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/core/ngx_queue.h:26:8: note: expanded from macro 'ngx_queue_init'
    (q)->next = q
    ~~~^ ~~~~
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:841:21: error: use of undeclared identifier 'ngx_rtmp_init_queue'; did you mean 'ngx_rtmp_init_events'?
    ngx_queue_init(&ngx_rtmp_init_queue);
                    ^~~~~~~~~~~~~~~~~~~
                    ngx_rtmp_init_events
src/core/ngx_queue.h:26:17: note: expanded from macro 'ngx_queue_init'
    (q)->next = q
                ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.c:366:1: note: 'ngx_rtmp_init_events' declared here
ngx_rtmp_init_events(ngx_conf_t *cf, ngx_rtmp_core_main_conf_t *cmcf)
^
10 errors generated.
make[1]: *** [objs/addon/rtmp-nginx-module/ngx_rtmp.o] Error 1
In file included from /usr/local/share/rtmp-nginx-module/ngx_rtmp_handshake.c:9:
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:8: error: unknown type name 'ngx_thread_volatile'
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
       ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:39: error: expected ';' after top level declarator
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
                                      ^
                                      ;
2 errors generated.
make[1]: *** [objs/addon/rtmp-nginx-module/ngx_rtmp_handshake.o] Error 1
In file included from /usr/local/share/rtmp-nginx-module/ngx_rtmp_handler.c:9:
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:8: error: unknown type name 'ngx_thread_volatile'
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
       ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:39: error: expected ';' after top level declarator
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
                                      ^
                                      ;
2 errors generated.
make[1]: *** [objs/addon/rtmp-nginx-module/ngx_rtmp_handler.o] Error 1
In file included from /usr/local/share/rtmp-nginx-module/ngx_rtmp_amf.c:10:
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:8: error: unknown type name 'ngx_thread_volatile'
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
       ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:39: error: expected ';' after top level declarator
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
                                      ^
                                      ;
2 errors generated.
make[1]: *** [objs/addon/rtmp-nginx-module/ngx_rtmp_amf.o] Error 1
In file included from /usr/local/share/rtmp-nginx-module/ngx_rtmp_send.c:9:
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:8: error: unknown type name 'ngx_thread_volatile'
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
       ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:39: error: expected ';' after top level declarator
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
                                      ^
                                      ;
In file included from /usr/local/share/rtmp-nginx-module/ngx_rtmp_shared.c:9:
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:8: error: unknown type name 'ngx_thread_volatile'
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
       ^
/usr/local/share/rtmp-nginx-module/ngx_rtmp.h:611:39: error: expected ';' after top level declarator
extern ngx_thread_volatile ngx_queue_t      ngx_rtmp_init_queue;
                                      ^

Upload module not included?

I'm receiving a: nginx: [emerg] unknown directive "upload_pass" in ... Even though it looks like the upload module should be included?

Installing ./configure ran with:
$ brew install nginx-full
==> Downloading http://nginx.org/download/nginx-1.6.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-full-1.6.0.tar.gz
==> Patching
patching file conf/nginx.conf
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.6.0 --with-http_ssl_modu
==> make
==> make install

How to install with custom module?

This command is not working.
brew install nginx-full --with-rtmp-module

output
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.8.1 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-

Installation Failure `make[1]: host/buildvm: Permission denied`

Hi there, I tried to install openresty this afternoon.

I run the command brew install homebrew/nginx/openresty and get the following output:

==> Installing openresty from homebrew/homebrew-nginx
==> Downloading http://openresty.org/download/ngx_openresty-1.7.2.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/openresty-1.7.2.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/openresty/1.7.2.1 --pid-path=/usr/local/var/run/openresty.pid --lock-path=/usr/local/var/run/openresty.lock --sbin-path=/usr/local/Cella
make[1]: host/buildvm: Permission denied
make[1]: *** [lj_bcdef.h] Error 1
make[1]: *** [lj_vm.s] Error 1
make: *** [default] Error 2
ERROR: failed to run command: gmake TARGET_STRIP=@: CCDEBUG=-g CC=cc PREFIX=/usr/local/Cellar/openresty/1.7.2.1/luajit

READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/homebrew/homebrew-nginx/issues

unknown directive "mail" with mail option enabled

Sorry to bother you kind folks but I can't figure out what's going on here.

I run:

brew install nginx-full --with-mail
sudo chown root:wheel /usr/local/Cellar/nginx-full/1.8.1/bin/nginx
sudo chmod u+s /usr/local/Cellar/nginx-full/1.8.1/bin/nginx

nginx -V prints:

nginx version: nginx/1.8.1
built by clang 7.0.2 (clang-700.1.81)
built with OpenSSL 1.0.2f  28 Jan 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/local/Cellar/nginx-full/1.8.1 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.8.1/bin/nginx --with-cc-opt='-I/usr/local/include -I/usr/local/Cellar/pcre/8.38/include -I/usr/local/Cellar/openssl/1.0.2f/include' --with-ld-opt='-L/usr/local/lib -L/usr/local/Cellar/pcre/8.38/lib -L/usr/local/Cellar/openssl/1.0.2f/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-mail

My /usr/local/etc/nginx/nginx.conf looks like this:

worker_processes 1;

events { 
  worker_connections 1024;
}

http {
   ...
}

mail {
  auth_http localhost/smtpserver;
  server {
    listen 127.0.0.1:25;
    protocol smtp;
    timeout 60s;
    proxy on;
  }
}

However, when I run nginx -s reload, I get:

2016/02/05 11:06:22 [notice] 73098#0: signal process started
2016/02/05 11:06:22 [emerg] 58#0: unknown directive "mail" in /usr/local/etc/nginx/nginx.conf:117

The same configuration seems to work on CentOS. I'm running El Capitan 10.11.3 with Homebrew 0.9.5 (git revision 3446; last commit 2016-02-05).

Loading error in nginx-full

When trying to get information (or install, audit, etc) nginx-full, I get this:

Error: No available formula for nginx-full

I've updated brew, checked with the doctor and tried re-tapping this repository. Other formulae here seem to work correctly.

With debug:

$ brew info --debug nginx-full
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/nginx-full.rb
Error: no such file to load -- nginx-constants
Please report this bug:
    https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Formula/nginx-full.rb:2:in `require'
/usr/local/Library/Formula/nginx-full.rb:2
/usr/local/Library/Homebrew/formulary.rb:57:in `require'
/usr/local/Library/Homebrew/formulary.rb:57:in `klass'
/usr/local/Library/Homebrew/formulary.rb:42:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:186:in `factory'
/usr/local/Library/Homebrew/formula.rb:439:in `factory'
/usr/local/Library/Homebrew/cmd/info.rb:29:in `print_info'
/usr/local/Library/Homebrew/cmd/info.rb:27:in `each'
/usr/local/Library/Homebrew/cmd/info.rb:27:in `print_info'
/usr/local/Library/Homebrew/cmd/info.rb:17:in `info'
/usr/local/Library/brew.rb:107:in `send'
/usr/local/Library/brew.rb:107

I do seem to have an nginx-constants.rb file, I ran ruby -c on it and the syntax is fine. I'm running on OSX 10.9.2 with built-in ruby:

ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]

Switching to brew ruby doesn't change anything.

I played around with the require line and the only way I found to get it to work was to use an absolute path:

require '/usr/local/Library/Formula/nginx-constants.rb'

which seems unreasonable.

Move to Homebrew Organisation

Would be great if this tap was moved to the Homebrew organisation now it's more widely used. Anyone with commit access here will be granted commit access over there.

Thoughts?

Thanks!

OSX 10.9.5 autols-nginx-module fails to build

Using OSX 10.9.5 nginx-full autols-nginx-module enabled, the error output is:

==> Downloading https://github.com/DvdKhl/ngx_http_autols_module/archive/e0da4b2ff3.tar.gz
######################################################################## 100.0%
Error: undefined method `mv' for #<Pathname:0x007fc739b51230>
Please report this bug:
    https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Taps/homebrew/homebrew-nginx/autols-nginx-module.rb:9:in `install'
/usr/local/Library/Homebrew/build.rb:137:in `block in install'
/usr/local/Library/Homebrew/formula.rb:268:in `block in brew'
/usr/local/Library/Homebrew/formula.rb:600:in `block in stage'
/usr/local/Library/Homebrew/resource.rb:66:in `block in unpack'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/resource.rb:63:in `unpack'
/usr/local/Library/Homebrew/resource.rb:56:in `stage'
/usr/local/Library/Homebrew/formula.rb:598:in `stage'
/usr/local/Library/Homebrew/formula.rb:263:in `brew'
/usr/local/Library/Homebrew/build.rb:117:in `install'
/usr/local/Library/Homebrew/build.rb:186:in `<main>'

Pagespeed Module does not compile

When compiling the Pagespeed module I get the following error

adding module in /opt/boxen/homebrew/share/pagespeed-nginx-module
mod_pagespeed_dir=/opt/boxen/homebrew/share/pagespeed-nginx-module/psol/include
build_from_source=false
checking for psol ... not found
./configure: error: module ngx_pagespeed requires the pagespeed optimization library

My configure command is:

./configure --prefix=/opt/boxen/homebrew/Cellar/nginx-full/1.4.4 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/opt/boxen/homebrew/Cellar/nginx-full/1.4.4/bin/nginx --with-cc-opt=-I/opt/boxen/homebrew/include -I/opt/boxen/homebrew/opt/openssl/include --with-ld-opt=-L/opt/boxen/homebrew/lib -L/opt/boxen/homebrew/opt/openssl/lib --conf-path=/opt/boxen/homebrew/etc/nginx/nginx.conf --pid-path=/opt/boxen/homebrew/var/run/nginx.pid --lock-path=/opt/boxen/homebrew/var/run/nginx.lock --http-client-body-temp-path=/opt/boxen/homebrew/var/run/nginx/client_body_temp --http-proxy-temp-path=/opt/boxen/homebrew/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/opt/boxen/homebrew/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/opt/boxen/homebrew/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/opt/boxen/homebrew/var/run/nginx/scgi_temp --http-log-path=/opt/boxen/homebrew/var/log/nginx/access.log --error-log-path=/opt/boxen/homebrew/var/log/nginx/error.log --with-http_gzip_static_module --with-http_spdy_module --with-http_secure_link_module --add-module=/opt/boxen/homebrew/share/pagespeed-nginx-module

Not sure what is causing this right now, will have to look into it further.

notice-nginx-module patch doesn’t apply

==> Installing notice-nginx-module from homebrew/homebrew-nginx
==> Downloading https://github.com/kr/nginx-notice/archive/3c95966.tar.gz
Already downloaded: /Library/Caches/Homebrew/notice-nginx-module-0.0.2.tar.gz
==> Patching
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../kr-nginx-notice-3c95966/ngx_http_notice_module.c.orig   2009-07-16 18:37:57.000000000 +0200
|+++ ../kr-nginx-notice-3c95966/ngx_http_notice_module.c    2009-07-16 08:09:38.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1

SHA1 mismatch when installation

brew -v
Homebrew 0.9.5
OS X
10.10
brew install nginx-full --with-upload-module --with-upstream-hash-module 
==> Installing nginx-full from homebrew/homebrew-nginx
==> Installing nginx-full dependency: upstream-hash-nginx-module
==> Downloading https://github.com/evanmiller/nginx_upstream_hash/archive/master.tar.gz
Already downloaded: /Library/Caches/Homebrew/upstream-hash-nginx-module-0.1.tar.gz
==> Verifying upstream-hash-nginx-module-0.1.tar.gz checksum
Error: SHA1 mismatch
Expected: 359c3e7f52266763301b29bdf07edfab3d7c32d9
Actual: daf6650a36e197932670052cd9b8fe0db8230097
Archive: /Library/Caches/Homebrew/upstream-hash-nginx-module-0.1.tar.gz
To retry an incomplete download, remove the file above.

[TODO] The list of modules included by the addition

List modules / www.nginx.com/resources/wiki/modules/

When you are finished working on one of the queries, add the commit message tag #49

We need a patch

Error with WebDav

$ brew doctor show this error:

Error: Error: WebDav Extended Module not work without webdav support in nginx.
Please use '--with-webdav' with nginx-full.

Reinstall don't help((
$ brew reinstall nginx-full --with-webdav --with-image-filter

$ brew doctor
Error: Error: WebDav Extended Module not work without webdav support in nginx.
Please use '--with-webdav' with nginx-full.

OS X 10.9

Fails install devel version with Lua module

Hi, I'm trying configure nginx with next options:

brew install nginx-full --with-pcre-jit --with-webdav --with-lua-module --with-dav-ext-module --with-echo-module --devel

But I got this error:

_ngx_http_lua_timer_handler in ngx_http_lua_timer.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [objs/nginx] Error 1
make: *** [build] Error 2

Without --devel works fine. What is i doing wrong?

OSX 10.9.5 anti-ddos-nginx-module fails to build

Trying to build nginx-full with anti-ddos-nginx-module enable fails with the following error

==> Downloading https://github.com/aufi/anddos/archive/0507b433bb.tar.gz
Already downloaded: /Library/Caches/Homebrew/anti-ddos-nginx-module-0.1.tar.gz
Error: undefined method `mv' for #<Pathname:0x007fbf7b31e308>
Please report this bug:
    https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Taps/homebrew/homebrew-nginx/anti-ddos-nginx-module.rb:10:in `install'
/usr/local/Library/Homebrew/build.rb:137:in `block in install'
/usr/local/Library/Homebrew/formula.rb:268:in `block in brew'
/usr/local/Library/Homebrew/formula.rb:600:in `block in stage'
/usr/local/Library/Homebrew/resource.rb:66:in `block in unpack'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/resource.rb:63:in `unpack'
/usr/local/Library/Homebrew/resource.rb:56:in `stage'
/usr/local/Library/Homebrew/formula.rb:598:in `stage'
/usr/local/Library/Homebrew/formula.rb:263:in `brew'
/usr/local/Library/Homebrew/build.rb:117:in `install'
/usr/local/Library/Homebrew/build.rb:186:in `<main>'

./auto/configure: error: invalid option "--with-http_spdy_module"

I'm running this command to install nginx-full:

brew install nginx-full --with-upload-module --HEAD --with-spdy --with-http2 --with-google-perftools --with-anti-ddos-module --with-debug --with-dosdetector-module --with-geoip

and get the error as the title says: ./auto/configure: error: invalid option "--with-http_spdy_module".

SHA1 error for upload module

Just tried to compile nginx with the upload module and got a SHA1 error...

$ brew install nginx-full --with-spdy --with-realip --with-upload-module --with-gunzip 
==> Installing nginx-full dependency: upload-nginx-module
==> Downloading https://github.com/vkholodkov/nginx-upload-module/archive/2.2.tar.gz
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: c8cbeddce12e80e4103e6a3a86754a331bd7ab8a
Actual: a7d31ac0358b86ff12a07bcda1e9a8714118c2bb
Archive: /Library/Caches/Homebrew/upload-nginx-module-2.2.0.tar.gz
To retry an incomplete download, remove the file above.

stream module invalid

Using --with-stream fails as an invalid option.

brew install nginx-full --with-stream
==> Installing nginx-full from homebrew/nginx
==> Downloading http://nginx.org/download/nginx-1.8.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-full-1.8.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.8.1 --with-http_ssl_module --with-pcre --w
Last 15 lines from /Users/pjaol/Library/Logs/Homebrew/nginx-full/01.configure:
--with-cc-opt=-I/usr/local/include -I/usr/local/Cellar/pcre/8.38/include -I/usr/local/Cellar/openssl/1.0.2f/include
--with-ld-opt=-L/usr/local/lib -L/usr/local/Cellar/pcre/8.38/lib -L/usr/local/Cellar/openssl/1.0.2f/lib
--conf-path=/usr/local/etc/nginx/nginx.conf
--pid-path=/usr/local/var/run/nginx.pid
--lock-path=/usr/local/var/run/nginx.lock
--http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp
--http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp
--http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp
--http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp
--http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp
--http-log-path=/usr/local/var/log/nginx/access.log
--error-log-path=/usr/local/var/log/nginx/error.log
--with-stream

./configure: error: invalid option "--with-stream"

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.