[sr-dev] New GeoIP2 Module on Debian and os/x

Olle E. Johansson oej at edvina.net
Tue Feb 3 19:05:22 CET 2015


And centos 6:
CC (gcc) [M geoip2.so]		geoip2_pv.o
In file included from geoip2_pv.c:34:
geoip2_pv.h:26:23: warning: maxminddb.h: No such file or directory

This seems to be a generic issue that needs to be solved.

/O

On 03 Feb 2015, at 19:02, Olle E. Johansson <oej at edvina.net> wrote:

> CC (gcc) [M geoip2.so]		geoip2_mod.o
> In file included from geoip2_mod.c:34:
> ./geoip2_pv.h:26:10: fatal error: 'maxminddb.h' file not found
> #include <maxminddb.h>
>         ^
> 1 error generated.
> 
> Where does this file come from?
> 
> /O
> On 03 Feb 2015, at 18:15, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
> 
>> Hello,
>> 
>> if libmaxminddb (as listed in the README) is not in the Debian, then we
>> have to split the geoip group in two, inside Makefile.groups
>> 
>> Cheers,
>> Daniel
>> 
>> On 03/02/15 18:03, Carsten Bock wrote:
>>> Hi,
>>> 
>>> the current master fails to compile on Debian:
>>> 
>>> CC (gcc) [M geoip2.so] geoip2_mod.o
>>> In file included from geoip2_mod.c:34:0:
>>> geoip2_pv.h:26:23: fatal error: maxminddb.h: No such file or directory
>>> compilation terminated.
>>> make[1]: *** [geoip2_mod.o] Error 1
>>> make: *** [modules] Error 1
>>> 
>>> As a result, also current Debian-Package builds fail as a result.
>>> 
>>> I was not able to find any possibly Debian-Packages to solve this; the
>>> "old" geoip module compiles without any issues.
>>> 
>>> Thanks,
>>> Carsten
>>> 
>>> 
>> 
>> -- 
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> 
>> 
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> 




More information about the sr-dev mailing list