1Alien::libmaxminddb(3)User Contributed Perl DocumentationAlien::libmaxminddb(3)
2
3
4

NAME

6       Alien::libmaxminddb - Find or download and install libmaxminddb
7

VERSION

9       version 1.012
10

SYNOPSIS

12       Add the library to your dist.ini if you use Dist::Zilla.
13
14         [@Filter]
15         -bundle = @Basic
16         -remove = MakeMaker
17
18         [Prereqs / ConfigureRequires]
19         Alien::libmaxminddb = 0
20
21         [MakeMaker::Awesome]
22         header = use Config;
23         header = use Alien::libmaxminddb;
24         WriteMakefile_arg = CCFLAGS => Alien::libmaxminddb->cflags . ' ' . $Config{ccflags}
25         WriteMakefile_arg = LIBS => [ Alien::libmaxminddb->libs ]
26
27         [Prereqs / DevelopRequires]
28         Dist::Zilla = 0
29         Dist::Zilla::Plugin::MakeMaker::Awesome = 0
30

DESCRIPTION

32       MaxMind and DP-IP.com provide geolocation databases in the MaxMind DB
33       file format format.  This Perl module finds or downloads and installs
34       the C library libmaxminddb, which can read MaxMind DB files.
35

SUBROUTINES/METHODS

37       All methods are inherited from Alien::Base.
38

DIAGNOSTICS

40       None.
41

CONFIGURATION AND ENVIRONMENT

43       None.
44

DEPENDENCIES

46       Requires Alien::Build from CPAN.  On Windows, Alien::MSYS needs to be
47       installed manually.
48
49       Install the package "libmaxminddb-devel" or "libmaxminddb-dev" if you
50       would like to use your operating system's libmaxminddb library.
51

INCOMPATIBILITIES

53       None.
54

BUGS AND LIMITATIONS

56       If libmaxminddb <https://github.com/maxmind/libmaxminddb> and its
57       development files aren't present, the library is fetched from GitHub
58       and built with Alien::Build, which requires the build tools from
59       Alien::MSYS on Windows.  If Alien::Build fails to build libmaxminddb,
60       make sure that you have a clean build environment with nothing but Perl
61       and the build tools in your path.
62

SEE ALSO

64       Alien::Base, IP::Geolocation::MMDB
65

ACKNOWLEDGEMENTS

67       Thanks to all who have contributed patches and reported bugs:
68
69       •   Alex Granovskiy
70

AUTHOR

72       Andreas Vögele <voegelas@cpan.org>
73
75       Copyright (C) 2023 Andreas Vögele
76
77       This module is free software; you can redistribute it and/or modify it
78       under the same terms as Perl itself.
79
80       The libmaxminddb library is licensed under the Apache License, Version
81       2.0.
82
83
84
85perl v5.38.0                      2023-07-20            Alien::libmaxminddb(3)
Impressum