[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'iconv_open'
From: |
John Darrington |
Subject: |
Re: new module 'iconv_open' |
Date: |
Tue, 3 Apr 2007 09:36:17 +0800 |
User-agent: |
Mutt/1.5.9i |
On Tue, Apr 03, 2007 at 12:43:19AM +0200, Bruno Haible wrote:
Simon Josefsson wrote:
> Well, at least after I installed
> gperf, before that I got this error during build:
>
> make[2]: Entering directory `/home/jas/src/libidn/lib/gl'
> gperf -m 10 iconv_open-aix.gperf > iconv_open-aix.h-t
> /bin/sh: gperf: command not found
> make[2]: *** [iconv_open-aix.h] Error 127
This was an unexpected surprise for me too.
Yes, bison, flex, and gperf are the three common tools for code generation.
> No warnings about missing gperf during ./configure. I think the M4
> code should test for a gperf tool, using AM_MISSING_PROG or
> similar.
I agree.
It could, in theory. But what should the Makefile rule do if 'gperf' was
not
found?
- If the iconv_open-aix.h file does not yet exist, it simply cannot
proceed.
(Except on AIX... - Should I make the dependencies platform dependent?)
- If the iconv_open-aix.h file exists but is older, what to do? Emit a
warning and compile the old .h file?
I don't fully understand all the issues here, but at the very least,
./configure could show a warning if gperf is not found or is too old.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- Re: new module 'iconv_open', Eric Blake, 2007/04/02
- Re: new module 'iconv_open', Simon Josefsson, 2007/04/02
- Re: new module 'iconv_open', Simon Josefsson, 2007/04/03
- Re: new module 'iconv_open', Bruno Haible, 2007/04/03
- Re: new module 'iconv_open', Simon Josefsson, 2007/04/04
- Re: new module 'iconv_open', Bruno Haible, 2007/04/04
- Re: new module 'iconv_open', Simon Josefsson, 2007/04/04
Re: new module 'iconv_open', Bruno Haible, 2007/04/02