Discussion:
How do I build 3.0.0 on OS X 10.10.3 and avoid the netinfo error.
(too old to reply)
Robert Chalmers
2015-04-13 08:27:48 UTC
Permalink
I almost have it working, but am trapped by this error.

The build arguments are:

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 -lsasl2" '


However, the build produces this. Thousands of warnings, but in the end, the netinfo error.

Now, netinfo no longer exists on Mac OS X... so what does one do?

....
....
....
./sys_defs.h:1761:1: warning: '/*' within block comment [-Wcomment]
/* Yorktown Heights, NY 10598, USA
^
./sys_defs.h:1762:1: warning: '/*' within block comment [-Wcomment]
/*--*/
^
dict_ni.c:39:10: fatal error: 'netinfo/ni.h' file not found
#include <netinfo/ni.h>
^
47 warnings and 1 error generated.
make: *** [dict_ni.o] Error 1
make: *** [update] Error 1
zeus:postfix-3.0.0 robert$


thanks
Robert Chalmers
2015-04-19 17:54:07 UTC
Permalink
Post by Robert Chalmers
I almost have it working, but am trapped by this error.
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 -lsasl2" '
thanks
I solved this one. Just bad organization on my part, and a lack of understanding of the process.
Loading...