Alien::ZMQ - detect and/or install zeromq
use Alien::ZMQ; my $version = Alien::ZMQ::lib_version;
Upon installation, the target system is probed for the presence of libzmq. If it is not found, zeromq 3.2.2 is installed in a shared directory. In short, modules that need libzmq can depend on this module to make sure that it is available.
Get the version number of libzmq as a dotted version string according to the zmq.h header file.
Get the version number of libzmq as a dotted version string according to the libzmq.so file.
Get the directory containing the zmq.h header file.
Get the directory containing the libzmq.so file.
Get the C compiler flags required to compile a program that uses libzmq. This is a shortcut for constructing a
-I flag using
Get the linker flags required to link a program against libzmq. This is a shortcut for constructing a
-L flag using
These options to Build.PL affect the installation of this module.
By default, zeromq is not compiled and installed if it is detected to already be on the system. Use this to skip those checks and always install zeromq.
Pass extra flags to zeromq's configure script. You may want to consider passing either
--with-system-pgm if you need support for PGM; this is not enabled by default because it is not supported by every system.
Pass extra flags to the linker when probing for an existing installation of zeromq. In particular, if your libzmq.so file is installed to a special location, you may pass flags such as
Pass extra flags to the compiler when probing for an existing installation of zeromq. These flags will not be used when actually compiling zeromq from source. For that, just use the
CFLAGS environment variable.
Probing is only done upon installation, so if you are using a system-installed version of libzmq and you uninstall or upgrade it, you will also need to reinstall this module.
Windows is not yet supported. Patches are welcome.
Charles McGarvey <firstname.lastname@example.org>
This software is copyright (c) 2013 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.