X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-Alien-ZMQ;a=blobdiff_plain;f=lib%2FAlien%2FZMQ.pm;fp=lib%2FAlien%2FZMQ.pm;h=4660cfb2dd7c2c326053e85263eedf9263d2d679;hp=3990b8644565cade07f660c6ed81c1378c8af737;hb=03cf2eb0e346efc4529e3deb029f8228502c7448;hpb=f3a10eaaa7c6da6eadbe6903d32bd2b17bab8ac8 diff --git a/lib/Alien/ZMQ.pm b/lib/Alien/ZMQ.pm index 3990b86..4660cfb 100644 --- a/lib/Alien/ZMQ.pm +++ b/lib/Alien/ZMQ.pm @@ -1,5 +1,5 @@ package Alien::ZMQ; -# ABSTRACT: finding and installing libzmq, the core zeromq library +# ABSTRACT: find and install libzmq, the core zeromq library use warnings; use strict; @@ -9,15 +9,9 @@ use String::ShellQuote qw/shell_quote/; =head1 DESCRIPTION Upon installation, the target system is probed for the presence of libzmq. If -it is not found, B is installed in a shared directory. In +it is not found, B is installed in a shared directory. In short, modules that need libzmq can depend on this module to make sure that it -is available. - -This module is still B. In particular, I'm still pondering on -how S should be handled. Currently, if S is found on -the system, L will use it, but there is no way to install -S with L. I'm not sure what the most useful behavior -with regards to S is, so please talk to me if you have any ideas. +is available, or use it independently as a way to install zeromq. =head1 SYNOPSIS @@ -56,9 +50,9 @@ not be used when compiling libzmq from source (if it needs to be). To affect the compiling of libzmq, using the L flag instead. A better alternative to using L and L is to help -the L program find your libzmq by using the C +the L program find your libzmq by using the C environment variable. Of course, this method requires that you have the -L program installed. Here's an example: +L program installed. Here's an example: perl Build.PL PKG_CONFIG_PATH=/opt/zeromq/lib/pkgconfig ./Build @@ -86,6 +80,11 @@ Probing is only done during the installation of this module, so if you are using a system-installed version of libzmq and you uninstall or upgrade it, you will also need to reinstall L. +If S is found on the system, L will use it. There are +a few incompatibilities between S and S, so your +program may want to use the L method to check which version of +libzmq is installed. + =head1 BUGS MSWin32 is not yet supported, but cygwin works.