Woonsan Ko
2008-Jun-13 06:37 UTC
[Dovecot] configure error on HP-UX: C99 compatible vsnprintf() call
Hi All, I tried to build dovecot-1.1.rc9 on a HP-UX machine, but failed to configure with the following message: configure: error: You don't appear to have C99 compatible vsnprintf() call The environment is like the following: - command: ./configure - uname: HP-UX B.11.23 U ia64 - aCC version: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003] Also, I tried to run `./configure CC=c99' and `./configure CC="/opt/aCC/bin/aCC -Ae" also, but the result was the same. I'm not sure, but the HP C compiler does not seem to support C99 fully with vsnprintf() call. Is there any workaround for this problem? TIA, Woonsan
Timo Sirainen
2008-Jun-13 06:40 UTC
[Dovecot] configure error on HP-UX: C99 compatible vsnprintf() call
On Thu, 2008-06-12 at 23:37 -0700, Woonsan Ko wrote:> Hi All, > > I tried to build dovecot-1.1.rc9 on a HP-UX machine, but failed to configure with the following message: > > configure: error: You don't appear to have C99 compatible vsnprintf() callYou're in luck, I just yesterday fixed a lot of problems with HP-UX. My latest changes are in http://dovecot.org/tmp/dovecot-hpux.tar.gz Could you try that and tell me if it compiles and everything works? v1.1.rc10 release is actually just waiting for someone to confirm that the HP-UX changes work.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080613/6a87511d/attachment-0002.bin>
Woonsan Ko
2008-Jun-13 07:12 UTC
[Dovecot] configure error on HP-UX: C99 compatible vsnprintf() call
Hi Timo,
Thank you very much for quick response.
I have just tested with your new package, but they print other errors during
`make':
1. `make' after `configure'
Error 239: "str-find.c", line 17 # A struct/union shall not contain a
member
with incomplete type.
int goodtab[];
^^^^^^^
2. `make' after `configure CC=/opt/aCC/bin/aCC -AC99'
Error 20: "mempool-alloconly.c", line 83 # '<number>'
expected before '.'.
MEMBER(v) &static_alloconly_pool_vfuncs,
^^^^^^
Error 19: "mempool-alloconly.c", line 83 # Unexpected ','.
MEMBER(v) &static_alloconly_pool_vfuncs,
^
Error 19: "mempool-alloconly.c", line 86 # Unexpected '.'.
MEMBER(datastack_pool) FALSE
^^^^^^
Error 186: "mempool-alloconly.c", line 83 # Left side of '.'
requires a struct
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
The environment here:
- uname: HP-UX B.11.23 U ia64
- aCC version: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]
Kind regards,
Woonsan
--- On Fri, 6/13/08, Timo Sirainen <tss at iki.fi> wrote:
> From: Timo Sirainen <tss at iki.fi>
> Subject: Re: [Dovecot] configure error on HP-UX: C99 compatible vsnprintf()
call
> To: woon_san at yahoo.com
> Cc: "Dovecot Mailing List" <dovecot at dovecot.org>
> Date: Friday, June 13, 2008, 3:40 PM
> On Thu, 2008-06-12 at 23:37 -0700, Woonsan Ko wrote:
> > Hi All,
> >
> > I tried to build dovecot-1.1.rc9 on a HP-UX machine,
> but failed to configure with the following message:
> >
> > configure: error: You don't appear to have C99
> compatible vsnprintf() call
>
> You're in luck, I just yesterday fixed a lot of
> problems with HP-UX. My
> latest changes are in
> http://dovecot.org/tmp/dovecot-hpux.tar.gz
>
> Could you try that and tell me if it compiles and
> everything works?
> v1.1.rc10 release is actually just waiting for someone to
> confirm that
> the HP-UX changes work..