Re: [Exim] Need help building 4.24 on OSX server

Góra strony
Delete this message
Reply to this message
Autor: George Szekely
Data:  
Dla: exim-users
Temat: Re: [Exim] Need help building 4.24 on OSX server
>At 9:39 +0000 2003/11/06, Philip Hazel wrote:
>>On Wed, 5 Nov 2003, George Szekely wrote:
>>
>>> I'm trying to compile 4.24 with exiscan however these errors blocking me.
>>>
>>> If somebody could comment on this I would appreciate it greatly.
>>>
>> > dnsdb.c:38: error: `T_A' undeclared here (not in a function)
>>> dnsdb.c:38: error: initializer element is not constant
>>
>>That (and the other T_ macros) should be defined in a system header
>>file. On Linux, /usr/include/resolv.h (included by #include <resolv.h>)
>>causes them to be defined (by including some lower-level headers).
>>
>>I cannot help you with OSX.
>
>I think George just needs to apply the changes I posted you about on
>the 10th of last month, and in particular the -DBIND_8_COMPAT flag,
>here they are (I should probably put up a document on my web site,
>including pam.d configuration, although that is trivial):
>




>In OS/Makefile-Darwin (this is required only from MacOSX 10.3, but
>does not hurt even in previous versions):
>
>Instead of: CFLAGS=-O -no-cpp-precomp
>Use: CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT



Thanks Giuliano. "CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT" solved
the compiling problem.
I didn't need PAM support as I use mysql to authenticate.

George