Alien::LMDB - Build and install the LMDB embedded database
my $lmdb = Alien::LMDB->new; my $cflags = $lmdb->cflags; ## "-I/usr/local/share/perl/5.20.2/auto/share/dist/Alien-LMDB/include" my $libs = $lmdb->libs; "-L/usr/local/share/perl/5.20.2/auto/share/dist/Alien-LMDB/lib -llmdb" my $mdb_stat_binary = $lmdb->bin_dir . '/mdb_stat'; system("$mdb_stat_binary /path/to/db");
The above methods are inherited from Alien::Base.
If pkg-config --modversion lmdb works on your system, Alien::Base will attempt to use the system-installed lmdb. Otherwise it will use a bundled lmdb tarball.
pkg-config --modversion lmdb
This module is primarily for use with LMDB_File.
Alien-LMDB github repo
LMDB_File
Official LMDB site
github mirror of LMDB repo
Alien::Base
Doug Hoyte, <doug@hcsw.org>
<doug@hcsw.org>
Copyright 2016 Doug Hoyte.
This module includes LMDB (formerly known as MDB) which is copyright 2011-2016 Howard Chu, Symas Corp.
LMDB is licensed under the OpenLDAP license.
To install Alien::LMDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::LMDB
CPAN shell
perl -MCPAN -e shell install Alien::LMDB
For more information on module installation, please visit the detailed CPAN module installation guide.