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.
SubjectAuthorPosted

Howto set geoip_country for IPv4 and IPv6 databases?

Patrick ListsJanuary 14, 2013 11:10PM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Bruno PrémontJanuary 15, 2013 03:10AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan ErmilovJanuary 15, 2013 08:38AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Patrick ListsJanuary 15, 2013 11:24AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

RancorApril 30, 2013 06:14AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan ErmilovApril 30, 2013 08:36AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

RancorApril 30, 2013 09:03AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan ErmilovApril 30, 2013 05:18PM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

RancorMay 01, 2013 05:14AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

RancorMay 08, 2013 08:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 165 on April 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready