Skip to content

Cannot compile with geoip module #41

Open
@ualtinok

Description

When configured nginx like this:

./configure --add-module=../nginx-gridfs/ --with-http_geoip_module

compiling nginx ends with an error:

            -o objs/src/http/modules/ngx_http_split_clients_module.o \
            src/http/modules/ngx_http_split_clients_module.c

src/http/modules/ngx_http_geoip_module.c:173: error: 'GeoIPRecord' has no member named 'dma_code'
make[1]: *** [objs/src/http/modules/ngx_http_geoip_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/setups/nginx-1.0.11'

without nginx-gridfs or without geoip module it compiles successfully. (NGINX VERSION: nginx-1.0.11)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions