I checked out the latest set of sources today and attempted
to build them on BSD/OS 4.2 (beta1).
After fiddling with configure options a bit, and touching some
of the sentinal files to make the system not try to run autoconfigure
and automake, the build fails like this:
for subdir in smtp; do \
(cd $subdir && gmake CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-Wall -O2'
LDFLAGS='-s' LIBS='' prefix='/usr/local/nmh' exec_prefix='/usr/local/nmh'
bindir='/usr/local/nmh/bin' etcdir='/usr/local/nmh/etc' libdir='/usr/local/nmh/lib'
mandir='/usr/local/nmh/man' mailspool='/var/mail' sendmailpath='/usr/sbin/sendmail'
default_editor='/usr/bin/vi' default_pager='/usr/contrib/bin/less' all) || exit 1; \
done
gmake[2]: Entering directory `/scratch/homes/staff/lidl/nmh/mts/smtp'
gcc -c -DHAVE_CONFIG_H -I../.. -I. -I../.. @SASL_INCLUDES@ -Wall -O2 smtp.c
gcc: @SASL_INCLUDES@: No such file or directory
smtp.c:118: conflicting types for `sm_init'
smtp.h:24: previous declaration of `sm_init'
smtp.c: In function `sm_winit':
smtp.c:437: warning: `smtpcom' might be used uninitialized in this function
smtp.c: In function `smhear':
smtp.c:1523: warning: `ehlo' might be used uninitialized in this function
gmake[2]: *** [smtp.o] Error 1
gmake[2]: Leaving directory `/scratch/homes/staff/lidl/nmh/mts/smtp'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/scratch/homes/staff/lidl/nmh/mts'
gmake: *** [all-recursive] Error 1
I think this is due to the current "configure" program that is checked
into the CVS tree hasn't been run through autoconf, such that it doesn't
properly do the SASL_INCLUDES expansion in the target Makefiles.
Thanks.
-Kurt