Mailing List Archive

gcrypt.m4 and libgcrypt-config mismatched
I tried today to install libgcrypt-1.1.44 in /usr/local on
my debian machine, but when I build software that requires
it, it complains. I tried to force that software to find
the /usr/local installed newer version using:

./configure --with-libgcrypt-prefix=/usr/local

(the autoconf fragment uses AM_PATH_LIBGCRYPT(1.1.42...))

Using strace, I discovered that it calls:

/usr/local/bin/libgcrypt-config --prefix=/usr/local --version

which barfs with a usage statement, while my
/usr/bin/libgcrypt-config seems content to gobble --prefix
and print the version number.

diff found no differences between my system's libgcrypt.m4 and
the libgcrypt.m4 in libgnutls-1.1.44.

I expect the problem is line 23 of libgcrypt.m4:
libgcrypt_config_args="$libgcrypt_config_args --prefix=$libgcrypt_config_prefix"

Or, alternately, that a --prefix=*) case should be added to
libgcrypt-config, though I don't know what it would do.

-neil
Re: gcrypt.m4 and libgcrypt-config mismatched [ In reply to ]
Neil Spring <nspring@cs.washington.edu> writes:

Hi,

> diff found no differences between my system's libgcrypt.m4 and the
> libgcrypt.m4 in libgnutls-1.1.44.

That was the bug: Libgcrypt's AM_PATH_LIBGCRYPT should have been
updated to comply with the new usage of libgcrypt-config; it's fixed
in CVS. You can simply remove the `=...' part following to
`--prefix'.

moritz
--
((gpg-key-id . "6F984199")
(email . "moritz@duesseldorf.ccc.de")
(webpage . "http://duesseldorf.ccc.de/~moritz/"))