Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rachalmers

macrumors member
Original poster
Oct 21, 2012
61
5
UK
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>

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 ... :) 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” '

Any ideas anyone ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.