Xenix 2.3.3/Dev 2.3.1 and smail3.1.20 cores
Randy Bush
news at m2xenix.psg.com
Thu Apr 4 02:49:18 AEST 1991
> I wanted to install smail 3.1.20 on Xenix 2.3.3 with Dev 2.3.1 (lng 244),
> but smtpd and rmail core - outgoing mail stucks in input ...
> I tried also gcc 1.37.1 (with Xenix-patches) - same problem ...
Dunno what to say. Works hree. I will append my notes on getting smail to
work on Xenix 2.3.x.
Subject: smail 3.1.20
To: nerd at percival.rain.com (Michael Galassi),
ccfj at quagga.ru.ac.za (F.F. Jacot Guillarmod),
barrett at daisy.ee.und.ac.za (Alan Barrett)
Date: Sun, 10 Mar 91 22:45:02 PST
From: Randy Bush <randy at m2xenix.psg.com>
Cc: tron at veritas.com
As you can see from the new batwings in my header, smail 3.1.20 installed on
Xenix/386 2.3.3. I had to do the same five hacks that were required in 3.1.18,
except one had to be more extreme.
o conf/EDITME : CFLAGS="-O -DLAI_TCP" so that Xenix will not bitch abouut
no typedefs for u_whatever when you take the networking options for
smail.
o conf/EDITME : for those of us running DNS or at least networking under
Xenix, the simplest hack seems to be
MISC_C_DEFINES='
#define REQUIRE_CONFIGS TRUE
#undef LOCAL_MAIL_FILE
#define LOCAL_MAIL_FILE "/usr/spool/mail/${lc:user}"
#define HAVE_BSD_NETWORKING
#define HAVE_GETHOSTNAME
#define HAVE_DUP2
'
o conf/lib/mkdefs.sh needs to handle colon-separated filenames on
OTHER_SMAIL_NAMES. The best hack seems to be to insert a hacked version
of the code that was in smail 3.1.18. So, add
# Convert OTHER_SMAIL_NAMES from a colon-separated list to
# a white-space separated list
case "$OTHER_SMAIL_NAMES" in
*:*) OTHER_SMAIL_NAMES="`echo "$OTHER_SMAIL_NAMES" |
sed -e 's/:/ /g' -e 's/[ ]+/ /'`"
;;
esac
immediately before
# If a SMAIL_NAME is specified, add it to the OTHER_SMAIL_NAMES.
# Otherwise, create one that points to the main smail binary.
Otherwise, it will fail at install time.
o pd/pathalias/mapaux.c : comment out the declarations of strcmp() and
strlen().
o pd/pathalias/config.h : comment out the define for MEMSET
Best of luck to all.
--
Randy Bush / news at psg.com / ..!uunet!m2xenix!news
More information about the Comp.unix.xenix.sco
mailing list