[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure -- braindead failure message
From: |
Simon Josefsson |
Subject: |
Re: configure -- braindead failure message |
Date: |
Sun, 02 Jan 2011 10:36:27 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Heiko Berges <address@hidden> writes:
> Hi,
>
> I'd expect that at least GNU people themself would know how to use
> autoconf, espacially how to design the tests and errormessages in
> a way so they resamble the problem:
>
> # (blahblah)
> # | #include <gcrypt.h>
> # | int
> # | main ()
> # | {
> # | enum gcry_cipher_algos i = GCRY_CIPHER_CAMELLIA128
> # | ;
> # | return 0;
> # | }
> # configure:7485: result: no
> # configure:7516: error:
> # ***
> # *** libgcrypt was not found. You may want to get it from
> # *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
> # ***
>
> Wrong.
>
> # $ libgcrypt-config --version
> # 1.2.0
>
> Too old, probably. Doesn't know about CAMELLIA, in fact. But I
> will never know, if you use a new feature to test for the existence
> of library.
I've changed the error message to say:
***
*** Libgcrypt v1.4.0 or later was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
***
If we can do anything more to improve the situation, please tell us.
/Simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: configure -- braindead failure message,
Simon Josefsson <=