From: steve@ecf.toronto.edu (Steve Kotsopoulos)
Subject: Re: Zmailer-2.2:  does it work w/IRIX4.0.*?
Organization: University of Toronto, Engineering Computing Facility
Date: Tue, 5 Jan 1993 14:23:41 GMT

In article <1i4gemINNe7n@tamsun.tamu.edu> steve@dewey.tamu.edu (Steve Rikli) writes:
>Has anyone gotten Rayan Zachariassen's zmailer mail delivery agent/sendmail
>replacement to successfully compile under IRIX 4.0.*?
>
>We're running a pre-release set of zmailer binaries from IRIX 3.3.2, and
>just upgraded to zmailer-2.2 on our Suns (SunOS 4.1.1), but compilation
>fails on our SGIs running 4.0.*.  
>
>I haven't hacked on the src at all yet, but needless to say it doesn't
>compile right out of the box.  I'd really like to know if anyone has
>gotten zmailer to work under IRIX, since I like it quite a bit and I'm
>loathe to go back to configuring sendmail.

Yes. I have it working on IRIX 4.0.5, we've been running it since the 
beginning of the school year. The only problem I ran into was with parallel
routers delivering messages more than once, so I am only running 1 router now.

I removed the 'extern int openlog();' definition from include/sysprotos.h,
here is my hostenv file (don't think I changed anything else):

# System features file for SGI IRIX 4.0

# order of linking for all the libraries mentioned in this file
LIB_TSORT=	-lresolv -lsun

# Debugging memory allocator
#
MALLOC_LIB=	../libmalloc/libmalloc_d.a

# signal handler return type
SIGNAL_TYPE=	void

# IP IPC
# Library:	network and socket routines
# Include:	<netinet/*.h>, <net/*.h> etc
INET_LIB=
INET_INCL=	

# NFS support
# Include:	<mntent.h>
NFS_LIB=	-lsun
NFS_INCL=

# BIND nameserver
# Library:	BIND resolver routines
# Include:	<netdb.h>, <arpa/nameser.h>, <resolv.h>
# Config file:	/etc/resolv.conf or /usr/etc/resolv.conf or similar
# RESOLV_LIB=	-lresolv -lsun
RESOLV_LIB=
RESOLV_INCL=
RESOLV_CONF=	"/usr/etc/resolv.conf"

# NDBM
# Library:	dbm_open(), dbm_close(), dbm_fetch(), dbm_store(), dbm_delete(),
#		dbm_firstkey(), dbm_nextkey(), dbm_error(), dbm_clearerr()
# Include:	<ndbm.h>
NDBM_LIB=
NDBM_INCL=

# DBM
# Library:	dbm_init(), fetch(), store(), delete(), firstkey(), nextkey()
# Include:	<dbm.h>
DBM_LIB=
DBM_INCL=

# Hosts file routines
# Library:	sethostent(), gethostbyname()
# Include:	<netdb.h>
# Hosts file:	"/etc/hosts"
HOSTS_LIB=	-lsun
HOSTS_INCL=
HOSTS_FILE=	"/etc/hosts"

# Directory reading routines
# Library:	opendir(), readdir(), closedir(), rewinddir()
# Header file:	<sys/dir.h> on BSD, <dirent.h> on SVID, perhaps <ndir.h>
# Type:		either 'direct' or 'dirent' depending on flavour
NDIR_LIB=
NDIR_H=		<dirent.h>
NDIR_TYPE=	dirent
d_namlen=	d_reclen

# Syslog routines
# Library:      openlog(), syslog()
# Include:      <syslog.h>
SYSLOG_LIB=
SYSLOG_INCL=

# Location of time structure definitions
TIME_H=		<sys/time.h>

# Set each *_TYPE to the type of the corresponding function (see sysprotos.h)
FREAD_TYPE=	size_t
FWRITE_TYPE=	size_t
GETEUID_TYPE=	uid_t
GETUID_TYPE=	uid_t
SPRINTF_TYPE=	int
STRLEN_TYPE=	size_t
UMASK_TYPE=	mode_t
TIMES_TYPE=	clock_t
SETPWENT_TYPE=	void

# Set each variable to indicate the corresponding feature exists in libc
LSTAT=
SETREUID=
FCHOWN=
#FCHMOD=
STRCHR=
#UNAME=
DUP2=
#BSDSETPGRP=
#RLIMIT=
#BINMKDIR=
#BINRMDIR=
RENAME=
#STATBLKSIZ=
#BCOPY=
#NFSMBOX=
LOCKF=
UNIONWAIT=
#YP=	# USE_YP doesn't quite work yet
SELECT=
TIMEVAL=
#NOFILE=
#BSDNODELAY=
VFPRINTF=
DBMCLOSE=
FTRUNCATE=
#BSDTIMEZONE=
SYSVTIMEZONE=
SIGLIST=
SETVBUF=
SETSID=

#file system stuff, how to get block size, on sgi want a #include <sys/fs/s5macros.h>

-- 
Steve Kotsopoulos                   mail:   steve@ecf.toronto.edu
Systems Analyst                     bitnet: steve@ecf.UTORONTO.BITNET
Engineering Computing Facility      uucp:   uunet!utai!ecf!steve
University of Toronto               phone:  (416) 978-5898
Xref: sparky comp.sys.sgi.misc:175 comp.sys.sgi.apps:32 comp.sys.sgi:18530