From: Jim Wright on
On Apr 14, 2010, at 11:04 AM, Bradley Giesbrecht wrote:

> On Apr 14, 2010, at 6:33 AM, Wietse Venema wrote:
>
>> What is the output from the following commands on this machine?
>>
>> uname -s
>> uname -r
>> uname -v
>
> In case this is useful. From Leopard 10.5 not Snow Leopard 10.6.

I had no issues (that weren't of my own making) compiling under
10.5. ;) Still, probably handy to have a record of.

From: Jim Wright on
On Apr 14, 2010, at 7:52 AM, Jim Wright wrote:

> On Apr 12, 2010, at 11:32 PM, Jim Wright wrote:
>
>> I'm setting up a new server completely from scratch on Snow Leopard, Mac OS X 10.6.3, trying to compile Postfix 2.7. During make, I get this:
>>
>> In file included from dns_lookup.c:152:
>> dns.h:23:29: error: nameser8_compat.h: No such file or directory
>> make: *** [dns_lookup.o] Error 1
>> make: *** [update] Error 1
>>
>>
>> I haven't seen this come up on the list yet, so I wanted to report this here. A google search found a suggested fix, in /src/util/sys_defs.h, the following line should be commented out:
>>
>> #define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H
>>
>> With this line commented out, I'm able to get a good build. My question is, should I be worried about screwing something up having this line commented out? I'm sure it's there for a reason. (grin)
>
> I've dug a bit more into this one. Mac OS X 10.6 no longer has an include file named nameser8_compat.h. The equivalent file seems to be arpa/nameser_compat.h. Updating the dns.h file (line 23) to include this file instead results in a good build. It may be another day or so before I'm able to put this server online to test.

Just an FYI that this change does seem to be stable, I'm not noticing any errors running this build on Snow Leopard.