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
But I can't figure out what to put in the make makefiles line....
This works for TLS
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.
Any ideas anyone ?
The build is looking for
Code:
dict_ni.c:39:10: fatal error: 'netinfo/ni.h' file not found
#include <netinfo/ni.h>
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 '
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 ...
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 '
Any ideas anyone ?