Welcome! Log In Create A New Profile

Advanced

Compiling Nginx with geoip module on Mac OS X

i0n
November 14, 2010 11:22PM
Hi there.

I'm trying to compile the geoip module on my local development machine
and I get an error when I run make

I've installed geoip using homebrew
brew install geoip

and linked the library up
brew link geoip

Then:

../configure --with-http_geoip_module
make

and I get this error:

src/http/modules/ngx_http_geoip_module.c:157: error: ‘GeoIPRecord’ has
no member named ‘dma_code’
make[1]: *** [objs/src/http/modules/ngx_http_geoip_module.o] Error 1
make: *** [build] Error 2

Any ideas?


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Compiling Nginx with geoip module on Mac OS X

i0n November 14, 2010 11:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready