Welcome! Log In Create A New Profile

Advanced

Re: Howto set geoip_country for IPv4 and IPv6 databases?

May 01, 2013 05:14AM
Ruslan Ermilov Wrote:
-------------------------------------------------------
> On Tue, Apr 30, 2013 at 09:03:20AM -0400, Rancor wrote:
>
> nginx detects the IPv6 support in libgeoip by trying to compile
> the following code snippet:
>
> #include <stdio.h>
> #include <GeoIP.h>
>
> int
> main(void)
> {
> printf("%d\n", GEOIP_CITY_EDITION_REV0_V6);
> return (0);
> }
>
> Does it compile OK on your system?
>

Hi,

thanks again for your reply. The code above doesn't compile on my system:

test.c: In function ‘main’:
test.c:7: error: ‘GEOIP_CITY_EDITION_REV0_V6’ undeclared (first use in this function)
test.c:7: error: (Each undeclared identifier is reported only once
test.c:7: error: for each function it appears in.)

Seems that the libgeoip1 in debian squeeze in version 1.4.7~beta6+dfsg-1 doesn't support this. Will test this again when wheezy is released at the next weekend.
Subject Author Posted

Howto set geoip_country for IPv4 and IPv6 databases?

Patrick Lists January 14, 2013 11:10PM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Bruno Prémont January 15, 2013 03:10AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan Ermilov January 15, 2013 08:38AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Patrick Lists January 15, 2013 11:24AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor April 30, 2013 06:14AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan Ermilov April 30, 2013 08:36AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor April 30, 2013 09:03AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan Ermilov April 30, 2013 05:18PM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor May 01, 2013 05:14AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor May 08, 2013 08:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
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