zeromq 3.2.3: configure --with-system-pgm doesn't detect openpgm-5.2

Description

The configure{,.in,.ac} doesn't detect the pkgconfig file installed by openpgm 5.2. The problem is that the openpgm pkgconfig filename is versioned and hardcoded to version 5.1 in the configure file (and openpgm
5.2 installs an openpgm-5.2 pkgconfig file - '/usr/lib64/pkgconfig/openpgm-5.2.pc'):

Projects affected:

  • libzmq - configure.ac file

  • zeromq3 - configure.in file

Offending line in zeromq3-x.git/configure.in:
...
PKG_CHECK_MODULES([OpenPGM], [openpgm-5.1 >= 5.1])
...

How to reproduce the problem:
1 - build and install openpgm 5.2.122
2 - build zeromq 3.2.3 with "configure --with-system-pgm"

Build error:
----------
...
checking for OpenPGM... no
configure: error: Package requirements (openpgm-5.1 >= 5.1) were not met:
No package 'openpgm-5.1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables OpenPGM_CFLAGS
and OpenPGM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
---------

More information in Red Hat's bugzilla:

Environment

Linux Fedora and EPEL 6

Activity

Show:

Jose Oliveira September 17, 2013 at 4:53 PM

Both pull requests were merged.

Jose Oliveira September 17, 2013 at 12:11 AM

Pull request against zeromq3-x:
https://github.com/zeromq/zeromq3-x/pull/107

Jose Oliveira June 1, 2013 at 8:27 PM

Pieter,

Would it be possible to also backport this to the zeromq3-x project?

Regards,
jpo

Caveat: the patch needs to be applied against configure.in (and not configure.ac).

Jose Oliveira June 1, 2013 at 8:23 PM

Fixed

Details

Assignee

Reporter

Affects versions

Priority

Created May 17, 2013 at 1:45 AM
Updated September 17, 2013 at 4:53 PM
Resolved September 17, 2013 at 4:53 PM