The following sections show some of the changes that need to be
made to config.data so that INN will compile. They are only samples;
``your mileage may vary.''
Note that if you are using the first release of gcc2, set
USE_CHAR_CONST to ``DONT''.
SunOS 4.x
MISSING_SRC memmove.c
MISSONG_OBJ memmove.o
AIX
DEFS -I../include -D_NO_PROTO -U__STR__
FORK fork
FREEVAL void
FUNCTYPE int
HAVE_ST_BLKSIZE DONT
HAVE_TM_GMTOFF DONT
LDFLAGS
LINTFILTER | sed -n -f ../sedf.aix
LINTFLAGS -wkD -b -h $(DEFS)
LINTLIBSTYLE SYSV
LOCK_STYLE FCNTL
MISSING_MAN
MISSING_SRC
NEED_TIME DO
POINTER void
USE_UNION_WAIT DONT
Under AIX 3.1, you must also use the syslog that comes with INN. This
is not necessary for 3.2. Some versions also need USE_UNION_WAIT set to
``DONT''. You should also run rc.news from init not /etc/rc; add a line
like the following near the end of the inittab file, just before the
``cons'' line:
rcnews:wait:2:/usr/local/etc/rc.news >/dev/console 2>_
A/UX
LIBS -lbsd
Make sure you don't use gcc version 1; it miscompiles the socket calls
in innd/cc.c.
BSDI
ABORTVAL void
ALARMVAL u_int
EXITVAL volatile void
_EXITVAL volatile void
FREEVAL void
GETPIDVAL pid_t
GID_T gid_t
HAVE_UNISTD DO
HAVE_VFORK DONT
HAVE_WAITPID DO
LSEEKVAL off_t
MISSING_OBJ
MISSING_SRC
_PATH_COMPRESS /usr/bin/compress
_PATH_EGREP /usr/bin/egrep
_PATH_MAILCMD /usr/bin/Mail
_PATH_SENDMAIL /usr/sbin/sendmail -t
PID_T pid_t
POINTER void
QSORTVAL void
SIZE_T size_t
SLEEPVAL u_int
UID_T uid_t
USE_UNION_WAIT DONT
VAR_STYLE STDARGS
Change the SHELL variable in config/Makefile and site/Makefile to point
to /usr/contrib/bin/bash. Edit lib/Makefile so that the install target
does not try to make ../llib-linn.ln. You must also use the GNU sed;
the version distributed with BSDI 0.9.4.1 enters an infinite loop
processing newgroup messages.
HP-UX 8.0
ABORTVAL void
ALARMVAL unsigned int
CLX_STYLE FCNTL
CTYPE isXXXXX((c))
DEFS -I../include -DHPUX
FDCOUNT_STYLE SYSCONF
FREEVAL void
GETPIDVAL pid_t
GID_T gid_t
HAVE_SETBUFFER DONT
HAVE_ST_BLKSIZE DONT
HAVE_TM_GMTOFF DONT
HAVE_UNISTD DO
HAVE_WAITPID DO
LINTFILTER | sed -n -f ../sedf.sysv
LINTFLAGS -b -h $(DEFS)
LINTLIBSTYLE SYSV
LOCK_STYLE LOCKF
LOG_INN_PROG LOG_LOCAL7
LOG_INN_SERVER LOG_LOCAL7
LSEEKVAL off_t
_PATH_MAILCMD /usr/bin/mailx
NOFILE_LIMIT 200
PID_T pid_t
POINTER void
PROF
QSORTVAL void
RANLIB echo
RES_STYLE TIMES
SIZE_T size_t
SLEEPVAL unsigned int
UID_T uid_t
USE_UNION_WAIT DONT
_EXITVAL void
You will probably also need to use the bdf command instead of df.
SGI Indigo with IRIX 4.0.1
ABORTVAL void
ALARMVAL uint
ACT_STYLE MMAP
CFLAGS $(DEFS) -g -w
CLX_STYLE FCNTL
_EXITVAL void
FORK fork
FREEVAL void
GID_T gid_t
HAVE_ST_BLKSIZE DONT
HAVE_TM_GMTOFF DONT
HAVE_UNISTD DO
LDFLAGS
LIBS -lmld
LINTFILTER | sed -n -f ../sedf.sysv
LINTFLAGS $(DEFS)
LINTLIBSTYLE SYSV
LSEEKVAL off_t
POINTER void
QSORTVAL void
RANLIB echo
SIZE_T size_t
SLEEPVAL uint
UID_T uid_t
_PATH_COMPRESS /usr/bsd/compress
Also, the MISSING_xxx parameters should be empty.
Solaris 2.x/SunOS 5.x, using SPARCompiler C 2.X
DEFS -I../include -DSUNOS5 -DPOLL_BUG
USE_CHAR_CONST DO
CFLAGS -O -Xa $(DEFS)
LDFLAGS
LIBS -lnsl -lsocket -lelf
LINTLIBSTYLE SYSV
LINTFLAGS -b -h $(DEFS)
LINTFILTER | sed -n -f ../sedf.sysv
RANLIB echo
VAR_STYLE STDARGS
SIZE_T size_t
UID_T uid_t
GID_T gid_t
PID_T pid_t
POINTER void
ALIGNPTR long
LOCK_STYLE LOCKF
HAVE_UNISTD DO
HAVE_SETSID DO
HAVE_TM_GMTOFF DONT
HAVE_WAITPID DO
USE_UNION_WAIT DONT
HAVE_VFORK DONT
HAVE_UNIX_DOMAIN DO
CLX_STYLE FCNTL
RES_STYLE TIMES
FDCOUNT_STYLE SYSCONF
ABORTVAL void
ALARMVAL unsigned
GETPIDVAL pid_t
SLEEPVAL unsigned
QSORTVAL void
LSEEKVAL off_t
FREEVAL void
_EXITVAL void
MISSING_SRC
MISSING_OBJ
PATH_COMPRESS /bin/compress
Make sure you use the C version of subst.
System V Release 4
FREEVAL void
GETPIDVAL long
HAVE_TM_GMTOFF DONT
HAVE_WAITPID DO
LDFLAGS
LIBS -lnsl -lsocket
LINTFILTER | sed -n -f ../sedf.sysv
LINTFLAGS -b -h $(DEFS)
LINTLIBSTYLE NONE
LOCK_STYLE FCNTL
MANPAGESTYLE NONE
MISSING_MAN strcasecmp.3
MISSING_OBJ strerror.o strcasecmp.o
MISSING_SRC strerror.c strcasecmp.c
_PATH_MAILCMD /usr/bin/mailx
POINTER void
QSORTVAL void
RANLIB
RES_STYLE TIMES
SIZE_T unsigned int
USE_CHAR_CONST DONT
USE_UNION_WAIT DONT
I was never able to get lint to be useful on the machine I used. Some
versions of System V (for example, Esix 4.0.3) need the following LIBS
value:
LIBS -lresolv -lsocket -lnsl -L/usr/ccs/lib -lelf
On a Dell System V machine, you have to set HAVE_UNIX_DOMAIN to
``DONT.''
Ultrix 4.x (RISC)
ALARMVAL unsigned int
FREEVAL void
LDFLAGS
LINTFILTER | sed -n -f ../sedf.sysv
LINTFLAGS -b -u -x $(DEFS)
LSEEKVAL off_t
MISSING_MAN
MISSING_OBJ syslog.o strerror.o
MISSING_SRC syslog.c strerror.c
POINTER void
PROF -p
QSORTVAL void
SIZE_T unsigned int
SLEEPVAL unsigned int
_EXITVAL void
Ultrix also requires the new syslog. You cannot use mmap; the Ultrix
version of the system call is for devices, not files. Some sites have
reported problems with using the syslog that INN includes (output
doesn't show up, or floating point numbers are garbled, etc.). The file
jtkohl-syslog-complete.tar.Z in the /pub/DEC directory on
gatekeeper.dec.com has a ``for-Ultrix'' package that handles both old
and new syslog calls. While Ultrix has symlinks, it does not have the
``-follow'' option in its find command. This is used in
expire/makeactive.c; you will have to either install the GNU find or
edit the source file.
|