Compiling Postfix on Snow Leopard

started at 07 Sep 2009 by abton
  • abton
    07 Sep 2009

    Hi all,

    I tried following the instructions on this site to compile Postfix on Snow Leopard and noticed that it tries to use an include file (nameser8_compat.h) that has been removed from the latest XCode SDK.

    After a bit of looking around I found out that this can easily be resolved if you don't mind a little bit of source code editing.

    Find the file src/util/sys_defs.h and then remove the line:

    #define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H

    When you try and build Postfix it will no longer try and include nameser8_compat.h and it will compile happily.

    Just thought I would share this. I use this site as a reference all the time and it's nice to give something back!

  • Richard
    07 Sep 2009

    Abton, thanks for that. I had already found it but it's good to see others chipping in. You can read more on compiling postfix on Snow Leopard on this new page which is still in development: http://diymacserver.com/installing-the-mailserver/the-mailserver-on-snow-leopard/compiling-postfix-in-64-bits-on-snow-leopard/

Reply

You must log in to post.