zeromq4-x
zeromq4-x copied to clipboard
configure fails if it is executed in a different directory than the source tree
Executing configure --with-pgm
from a different directory other than the source directory will fail with the following error message:
$ ls
build zeromq4-x
$ cd build
$ ../zeromq4-x/configure --with-pgm
../zeromq4-x configure: Unpacking libpgm-5.2.122~dfsg.tar.gz
../zeromq4-x/configure: line 19137: cd: foreign/openpgm: No such file or directory
gzip: libpgm-5.2.122~dfsg.tar.gz: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
configure: error: cannot unpack the foreign/openpgm/libpgm-5.2.122~dfsg.tar.gz file
If configured without the option --with-pgm
, the configure
script will terminate without any issue.
Please retest on libzmq master, and if it's fixed there we can try to backport the fix.
The management of pgm have been changed in both version:
In the master branch: it requires pkg-config (or settings flags: pgm_LIBS
and pgm_CFLAGS
--with-pgm build libzmq with PGM extension. Requires pkg-config
[default=no]
In version 4-x, the libpgm is shipped with zeromq : foreign/openpgm/libpgm-5.2.122~dfsg.tar.gz
. The configure
script will extract it and compile it.
--with-pgm build libzmq with PGM extension [default=no]
--with-system-pgm build libzmq with PGM extension. Requires pkg-config
[default=no]
With root authority on it