How do I compile SASL into Postfix-3.0.0 for 10.10.3
I'm trying to compile Postfix-3.0.0 with SASL support from sources from postfix.org, and run into a little snag.
The build is looking for
[CODE]dict_ni.c:39:10: fatal error: 'netinfo/ni.h' file not found
#include <netinfo/ni.h>[/CODE]
But I can't figure out what to put in the make makefiles line....
This works for TLS
[CODE]make makefiles CCARGS='-DUSE_SASL_AUTH \
-DDEF_SERVER_SASL_TYPE=\"dovecot\” \
CCARGS="-DUSE_TLS -I/usr/local/include" AUXLIBS="-L/opt/local/lib -lssl -lcrypto” \
AUXLIBS="-L/usr/lib -lldap -L/usr/lib -llber -L/usr/lib -lsasl2” '[/CODE]
But adding SASL as well ???? I'm thinking netinfo is in /usr/lib/.... but under what library? as it doesn't appear to be there on its own.
This doesn't work obviously - but I gave it a try ... :-) Yje last line was an attempt to compile in the SASL bit with some other stuff.
[CODE]make makefiles CCARGS='-DUSE_SASL_AUTH \
-DDEF_SERVER_SASL_TYPE=\"dovecot\” \
CCARGS="-DUSE_TLS -I/usr/local/include" AUXLIBS="-L/opt/local/lib -lssl -lcrypto” \
AUXLIBS="-L/usr/lib -lldap -L/usr/lib -llber -L/usr/lib -lsasl2” '[/CODE]
Any ideas anyone ?
Mac mini, OS X Yosemite (10.10.2), null