Re: [exim] AIX Build Notes

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Mike Meredith
CC: exim-users
Subject: Re: [exim] AIX Build Notes
On Fri, 4 Feb 2005, Mike Meredith wrote:

> Just a few notes from building Exim (4.44+exiscan) on an AIX (5.3L) box ...
> in case someone else needs the info, or in case someone spots me doing
> something stupid (I'm new to AIX).
>
> 1 .. Change CC to gcc in OS/Makefile-AIX (no cc installed by default)
> 2 .. Change CFLAGS in OS/Makefile-AIX :-
>    1 .. Remove -D__STR31__ (this may not be necessary but it works without)
>    2 .. Add '-mcpu=power4 -maix64 -O3'


I'll do that; I suspect there are very few AIX Exim users; I certainly
have no access to an AIX system, so I just put in the config file what
people tell me to.

> 3 .. Edit src/exim.h and remove the guard around "#define SOCKLEN_T
>      socklen_t" ... AIX has SOCKLAN_T defined in the standard headers
>      as blank. Yes this should go in OS/os-AIX.h, but the change isn't
>      effective there.


Why doesn't putting something in os-AIX.h work?

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book