Last active
May 25, 2016 05:53
-
-
Save n0ts/3b1611eb54807833cca28fe920f2c3f8 to your computer and use it in GitHub Desktop.
nginx-full mruby compile error at 10.11.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install nginx-full --devel --with-passenger --with-addition --with-auth-req --with-degredation --with-flv --with-geoip --with-google-perftools --with-gunzip --with-gzip-static --with-http2 --with-image-filter --with-mail --with-mp4 --with-pcre-jit --with-perl=/usr/local/homebrew/perl --with-random-index --with-realip --with-secure-link --with-status --with-stream --with-sub --with-webdav --with-xslt --with-mruby-module --with-lua | |
... | |
build: [exec] git clone git://github.com/redis/hiredis.git | |
Cloning into 'hiredis'... | |
build: [exec] make | |
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. | |
clang -g -std=gnu99 -O3 -Wall -Werror-implicit-function-declaration -Wdeclaration-after-statement -Wwrite-strings -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c | |
net.c:139:37: error: use of undeclared identifier 'TCP_KEEPALIVE' | |
if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPALIVE, &val, sizeof(val)) < 0) { | |
^ | |
net.c:433:29: error: use of undeclared identifier 'AF_LOCAL' | |
if (redisCreateSocket(c,AF_LOCAL) < 0) | |
^ | |
net.c:458:21: error: use of undeclared identifier 'AF_LOCAL' | |
sa.sun_family = AF_LOCAL; | |
^ | |
3 errors generated. | |
make[1]: *** [net.o] Error 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment