Skip to content

Instantly share code, notes, and snippets.

@seanski
Created September 14, 2011 03:13
Show Gist options
  • Save seanski/1215775 to your computer and use it in GitHub Desktop.
Save seanski/1215775 to your computer and use it in GitHub Desktop.
Error install nginx with Homebrew
==> Downloading http://nginx.org/download/nginx-1.0.6.tar.gz
File already downloaded in /Users/sean/Library/Caches/Homebrew
/usr/bin/tar xf /Users/sean/Library/Caches/Homebrew/nginx-1.0.6.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file auto/lib/pcre/conf
patching file conf/nginx.conf
==> ./configure --prefix=/Users/sean/homebrew/Cellar/nginx/1.0.6 --with-http_ssl_module --with-pcre --conf-path=/Users/sean/homebrew/etc/nginx/nginx.conf --pid-path=/Users/sean/homebrew/var/run/nginx.pid --lock-path=/Users/sean/homebrew/var/nginx/nginx.lock
./configure --prefix=/Users/sean/homebrew/Cellar/nginx/1.0.6 --with-http_ssl_module --with-pcre --conf-path=/Users/sean/homebrew/etc/nginx/nginx.conf --pid-path=/Users/sean/homebrew/var/run/nginx.pid --lock-path=/Users/sean/homebrew/var/nginx/nginx.lock
checking for OS
+ Darwin 11.1.0 x86_64
checking for C compiler ... found
+ using GNU C compiler
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 accept4() ... 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 endianess ... little endianess
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
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 PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found
auto/lib/pcre/conf: line 161: /Users/sean/homebrew=/Users/sean/homebrew/: No such file or directory
auto/lib/pcre/conf: line 162: PCRE library in ${/Users/sean/homebrew}: bad substitution
checking for OpenSSL library ... found
checking for zlib library ... found
creating objs/Makefile
Configuration summary
+ using PCRE library: NO
+ using system OpenSSL library
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using system zlib library
nginx path prefix: "/Users/sean/homebrew/Cellar/nginx/1.0.6"
nginx binary file: "/Users/sean/homebrew/Cellar/nginx/1.0.6/sbin/nginx"
nginx configuration prefix: "/Users/sean/homebrew/etc/nginx"
nginx configuration file: "/Users/sean/homebrew/etc/nginx/nginx.conf"
nginx pid file: "/Users/sean/homebrew/var/run/nginx.pid"
nginx error log file: "/Users/sean/homebrew/Cellar/nginx/1.0.6/logs/error.log"
nginx http access log file: "/Users/sean/homebrew/Cellar/nginx/1.0.6/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
==> make install
make install
make -f objs/Makefile install
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_busy_lock.o \
src/event/ngx_event_busy_lock.c
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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_busy_lock.o \
src/http/ngx_http_busy_lock.c
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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_zone_module.o \
src/http/modules/ngx_http_limit_zone_module.c
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
/usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe -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
src/http/modules/ngx_http_rewrite_module.c: In function ‘ngx_http_rewrite’:
src/http/modules/ngx_http_rewrite_module.c:299: error: ‘ngx_regex_compile_t’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:299: error: (Each undeclared identifier is reported only once
src/http/modules/ngx_http_rewrite_module.c:299: error: for each function it appears in.)
src/http/modules/ngx_http_rewrite_module.c:299: error: expected ‘;’ before ‘rc’
src/http/modules/ngx_http_rewrite_module.c:302: error: ‘ngx_http_script_regex_code_t’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:302: error: ‘regex’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:303: error: ‘ngx_http_script_regex_end_code_t’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:303: error: ‘regex_end’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:316: error: ‘rc’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:329: error: ‘ngx_http_script_regex_start_code’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:409: error: ‘ngx_http_script_regex_end_code’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c: In function ‘ngx_http_rewrite_if_condition’:
src/http/modules/ngx_http_rewrite_module.c:637: error: ‘ngx_regex_compile_t’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:637: error: expected ‘;’ before ‘rc’
src/http/modules/ngx_http_rewrite_module.c:640: error: ‘ngx_http_script_regex_code_t’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:640: error: ‘regex’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:745: error: ‘rc’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:748: error: ‘NGX_REGEX_CASELESS’ undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:757: error: ‘ngx_http_script_regex_start_code’ undeclared (first use in this function)
make[1]: *** [objs/src/http/modules/ngx_http_rewrite_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/nginx.rb#L56
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: be7db9a453d6c8f4156e618a02d201dda1dd84e9
HOMEBREW_PREFIX: /Users/sean/homebrew
HOMEBREW_CELLAR: /Users/sean/homebrew/Cellar
HOMEBREW_REPOSITORY: /Users/sean/homebrew
HOMEBREW_LIBRARY_PATH: /Users/sean/homebrew/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.7.1
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2336
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CPPFLAGS: -isystem /Users/sean/homebrew/include
LDFLAGS: -L/Users/sean/homebrew/lib
MAKEFLAGS: -j2
Error: Failed executing: make install
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/5403
https://github.com/mxcl/homebrew/issues/6411
https://github.com/mxcl/homebrew/issues/6600
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment