[Dovecot] building in AIXV5.3 using the IBM C for AIX compiler V6.0
Stewart Dean
sdean at bard.edu
Tue Feb 21 23:25:35 EET 2006
What fun. I don't often stoke up the boiler and actually compile
open-source code, but here I am at the beginning of just such a joyous
and wondrous adventure.
I'm running the latest level of AIX (V5.3...V4.3 has been obsolete for
at least, what, 5 years) and using the IBM compiler (xlc is similarly
obsolete, from back when the compiler came with the O/S...oh, for the
halcyon days of Unix's youth) as above
The IBM compiler is now know as xlc rather than xlC, and configure
doesn't find it:
checking for xlC_r... no
checking for xlC... no
and it isn't happy with the quota stuff:
checking sys/quota.h usability... no
checking sys/quota.h presence... no
checking for sys/quota.h... no
checking sys/fs/ufs_quota.h usability... no
checking sys/fs/ufs_quota.h presence... no
checking for sys/fs/ufs_quota.h... no
checking ufs/ufs/quota.h usability... no
checking ufs/ufs/quota.h presence... no
checking for ufs/ufs/quota.h... no
I guess this is because AIX has journalled filesystems and the quota.h stuff is under /usr/include/jfs/quota.h
Configure completes with this summary.
Install prefix ...................... : /usr/local
File offsets ........................ : 32bit
I/O loop method ..................... : poll
File change notification method ..... : none
Building with SSL support ........... : no
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with GSSAPI support ........ : no
Building with user database modules . : static prefetch passwd passwd-file checkpassword (modules)
Building with password lookup modules : passwd passwd-file pam checkpassword (modules)
Right now, I'm just shooting (sorry, Mr. Cheney) for a clean
compile...I'll leave such niceties as finding the OpenSSL binaries
(which IBM, in its wisdom, puts in special places), doing a
multiproccesor-enabled compile, etc. for later.
Onward! I have defined CC= /usr/vac/bin/cc. But alas, the party just
doesn't happen. There's much like this:
"/usr/include/sys/types.h", line 136.25: 1506-115 (E) Duplicate type specifier "unsigned" ignored.
"/usr/include/sys/types.h", line 136.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
"/usr/include/sys/types.h", line 156.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
source='hostpid.c' object='hostpid.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../depcomp /usr/vac/bin/
xlc -DHAVE_CONFIG_H -I. -I. -I../.. -g -c hostpid.c
"/usr/include/sys/types.h", line 136.25: 1506-115 (E) Duplicate type specifier "unsigned" ignored.
"/usr/include/sys/types.h", line 136.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
"/usr/include/sys/types.h", line 156.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
source='imem.c' object='imem.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../depcomp /usr/vac/bin/xlc -D
HAVE_CONFIG_H -I. -I. -I../.. -g -c imem.c
"/usr/include/sys/types.h", line 136.25: 1506-115 (E) Duplicate type specifier "unsigned" ignored.
"/usr/include/sys/types.h", line 136.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
"/usr/include/sys/types.h", line 156.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
source='iostream.c' object='iostream.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../depcomp /usr/vac/bi
n/xlc -DHAVE_CONFIG_H -I. -I. -I../.. -g -c iostream.c
"/usr/include/sys/types.h", line 136.25: 1506-115 (E) Duplicate type specifier "unsigned" ignored.
"/usr/include/sys/types.h", line 136.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
"/usr/include/sys/types.h", line 156.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
source='istream.c' object='istream.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../depcomp /usr/vac/bin/
xlc -DHAVE_CONFIG_H -I. -I. -I../.. -g -c istream.c
"/usr/include/sys/types.h", line 136.25: 1506-115 (E) Duplicate type specifier "unsigned" ignored.
"/usr/include/sys/types.h", line 136.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
"/usr/include/sys/types.h", line 156.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the memb
ers of an enumeration.
"ioloop.h", line 17.31: 1506-275 (S) Unexpected text ',' encountered.
make: 1254-004 The error code from the last command is 1.
Yikes. Would someone be so kind as to lend me a hand?
--
====
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
sdean at bard.edu voice: 845-758-7475, fax: 845-758-7035
More information about the dovecot
mailing list