I'm running into all sorts of problems getting sendmail to build on the latest version of OSX.
Don't even mention Postfix. Can't use it, doesn't support miltering.
Anyway, off the bat I had problems due to trying to build using gcc3.3. Some error regarding the use of varargs.h instead of stdarg.h. A quick run of gcc_select 3 fixes that problem, and switches me back to 3.1.
Running sh Build -c in the main source directory results with this error:
Here's what my site.config.m4 file looks like:
Previous to this I did a sh Build, sh Build install in the libmilter directory with no issues.
Thoughts?
Don't even mention Postfix. Can't use it, doesn't support miltering.
Anyway, off the bat I had problems due to trying to build using gcc3.3. Some error regarding the use of varargs.h instead of stdarg.h. A quick run of gcc_select 3 fixes that problem, and switches me back to 3.1.
Running sh Build -c in the main source directory results with this error:
Code:
niprop.c:54:25: netinfo/ni.h: No such file or directory
niprop.c: In function `ni_propval':
niprop.c:73: `ni_status' undeclared (first use in this function)
niprop.c:73: (Each undeclared identifier is reported only once
niprop.c:73: for each function it appears in.)
niprop.c:73: parse error before "nis"
niprop.c:74: `ni_id' undeclared (first use in this function)
niprop.c:75: `ni_namelist' undeclared (first use in this function)
niprop.c:116: `nis' undeclared (first use in this function)
niprop.c:149: `nid' undeclared (first use in this function)
niprop.c:156: `ninl' undeclared (first use in this function)
make[2]: *** [niprop.o] Error 1
make[1]: *** [/usr/local/src/sendmail-8.12.10/obj.Darwin.7.0.0.PowerMacintosh/libsm/libsm.a] Error 2
make: *** [all] Error 2
Here's what my site.config.m4 file looks like:
Code:
define(`confEBINDIR',`/usr/local/libexec')
define(`confMANROOT',`/usr/share/man/cat')
define(`confMANROOTMAN',`/usr/share/man/man')
define(`confMBINDIR',`/usr/local/sbin')
define(`confSBINDIR',`/usr/local/sbin')
define(`confUBINDIR',`/usr/local/bin')
APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS')
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')APPENDDEF(`conf_sendmail_LIBS', `-lwrap')"
Previous to this I did a sh Build, sh Build install in the libmilter directory with no issues.
Thoughts?