Re: [Exim] Building exim-4.10 for OSX 10.2 / Darwin 6.0

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Christopher M. Smith
CC: exim-users
Sujet: Re: [Exim] Building exim-4.10 for OSX 10.2 / Darwin 6.0
On Tue, 27 Aug 2002, Christopher M. Smith wrote:

> easily fixed by adding #define NO_IP_VAR_H to the OS/os.h-Darwin
> header file.


Would this also work for other versions of Darwin? Or am I going to have
to set up different OS files for different releases? Are there any
experts out there?

> I also modified the CC variable set in OS/Makefile-Darwin to use gcc
> instead
> of cc.


That is a change you can make in Local/Makefile. No need to modify the
OS file.

> smtp_in.c: In function `smtp_start_session':
> smtp_in.c:1059: storage size of `ipoptblock' isn't known
> smtp_in.c:1105: dereferencing pointer to incomplete type
> smtp_in.c:1137: dereferencing pointer to incomplete type


Surprise, surprise, the structure for ipoptblock is usually defined in
/usr/include/netinet/ip_var.h.

You can cut out all the IP options processing by setting

#define NO_IP_OPTIONS

in OS/os.h-Darwin. This loses you the check for IP option settings
(which should not occur), but some OS do this automatically for you. I
don't know if that is true of Darwin.

> When I am done, I'd be happy to write up some info on building Exim
> 4.10 and
> contribute a patch once I get this working.


Always welcome. Though a straight patch may not make sense unless it
also works on other versions of Darwin.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.