From: INN FAQ Maintainers  
 
INN FAQ Part 1: General and questions from people that don't (yet) run INN
INN FAQ Part 2: Specific notes for specific operating systems
INN FAQ Part 3: Reasons why INN isn't starting
INN FAQ Part 4: The debugging tutorial (setup of feeds etc.)
INN FAQ Part 5: Other error messages and what they mean
INN FAQ Part 6: Day-to-day operation and changes to the system
INN FAQ Part 7: Problems with INN already running
INN FAQ Part 8: Appendix A: Norman's install guide
INN FAQ Part 9: Appendix B: Configurations for certain systems
 
 
Go to the table of contents 
Subject: Table Of Contents for Part 9/9
 
 
 
Note: See also part2 of the FAQ
 
Go to the table of contents 
Subject: (9.1) Comments for this part of the FAQ
 
 
Please see the entries below first to get the impression before you submit
an entry. Send new entries to me (hwr@pilhuhn.de) and questions about 
specific configurations to the submitter of the entry. See also 1.20
and 1.8
 
Go to the table of contents 
Subject: (9.2) NetBSD1.0/i386
 
 
 
Subject: (9.3) Solaris 2.4 on x86 Hardware
 
 
 
Subject: (9.4) Irix 5.[23]
 
 
 
Subject: (9.5) DEC Alpha with OSF/1 v3.2
 
 
 
 
Go to the table of contents 
Subject: (9.6) AIX 3.2.5
 
 
 
Subject: (9.7) Linux (Versions >= 1.3.57)
 
 
 
Subject: (9.8) BSD/OS 2.1 + sharedactive
 
 
 
Subject: (9.9) HP-UX 10.01
 
 
 
 
The full blown C/ANSII-C compiler is a separate product.  I think yacc comes
with this product. 
Corrections: 
Go to the table of contents 
Subject: (9.10) Fujitsu DS/90 running UXP/DS(V20L10)
 
 
 
 
Go to the table of contents 
Subject: (9.11) SunOS 4.1.x for INN 1.5
 
 
 
Subject: (9.12) Pyramid Systems running DC/OSx
 
 
 
Subject: (9.13) HP-UX 10.20 with HP gcc and INN1.5.1
 
 
System info: 
 
Go to the table of contents 
Subject: (9.14) Reliant Unix 5.43 C0024 on a MIPS RM300-C62 (Siemens Nixdorf)
 
 
 
Go to the table of contents 
Subject: (9.15) UnixWare 2.1.x
 
 
Newsgroups: news.software.nntp,news.software.b
Subject: INN FAQ Part 9/9: Appendix B: Configurations for certain systems
Followup-To: news.software.nntp
Summary: This article is part 9 of a multi-part FAQ:    Part 9: Configurations for certain systems
Posted-By: post_faq 2.10
Archive-name: usenet/software/inn-faq/part9
Last Changed: $Date: 1997/12/18 21:42:26 $ $Revision: 1.6 $
	TABLE OF CONTENTS for Part 9/9: Configurations for certain systems
  This part of the Faq is to provide some example configurations which
worked at least for some sites. I want to collect more then what is below;
this is just meant as a starting point.
If you want to submit an entry put the following in:
	- Name and Email  
	- a diff of config.data against config.dist leaving out changes to
	  local paths (except where they are relevant for work i.e. path to
	  egrep)  Please send me diffs as you find them below, not
	  entire config.data files. Please strip the diff to only include
	  the changed lines (see the entries below to see what I mean).
 	- the software environment it runs on (OS name and version, vendor 
	  patches to OS applied 
	- compiler (version?) and compiling environment.
	- other changes you made
##FROM: Heiko W.Rupp <<A HREF="mailto:hwr@pilhuhn.de">hwr@pilhuhn.de</A>>
##DIFF:
++ config.data	changes for NetBSD1.0
OFFSET_T			off_t
SIZE_T			size_t
UID_T			uid_t
GID_T			gid_t
PID_T			pid_t
POINTER			void
FREEVAL			void
_EXITVAL		void
##OS: NetBSD 1.0 on i486 hardware. The six very first kernel patches applied
	after 1.0 came out; will also run under 1.1 and probably later
    (1.2.1 tested).
##COMPILER: gcc 2.4.5 as supplied with NetBSD 1.0
##MISC:
Go to the table of contents
##FROM:  lev@keep.therealm.com (Lloyd Vancil)
##DIFF:
DEFS                    -I../include -DSUNOS5
CC                      gcc
LIBS                    -lsocket -lnsl -lelf -lresolv
SIZE_T                  size_t
UID_T                   uid_t
GID_T                   gid_t
PID_T                   pid_t
POINTER                 void
ALIGNPTR                long
CTYPE                   isXXXXX((c))
ABORTVAL                void
ALARMVAL                unsigned
GETPIDVAL               pid_t
SLEEPVAL                unsigned
LSEEKVAL                off_t
FREEVAL                 void
_EXITVAL                void
_PATH_COMPRESS          /usr/bin/compress
_PATH_EGREP             /usr/local/bin/egrep
_PATH_AWK               /usr/local/bin/gawk
_PATH_SED               /usr/local/bin/sed
_PATH_RNEWS             /usr/local/bin/rnews
_PATH_MAILCMD           /usr/bin/mailx
##OS: Solaris 2.4 for x86, Jumbo Kernel Patch 101945-23, sol24-23.patch to
	solve setsockopt problems.
##COMPILER: gcc2.6.3
##MISC: this config file assumes that the following GNU tools are 
	available on the system: GCC,RANLIB,SED,GREP,GAWK
	The tm_gmtoff thing was unavailable for 2.4 - the includes on 
	x86 2.4 MUST MUST include ucbinclude...
Go to the table of contents
##FROM: Robert Keller <<A HREF="mailto:rck@fangio.asd.sgi.com">rck@fangio.asd.sgi.com</A>>
##DIFF:
CFLAGS			$(DEFS) -O2 -w
LDFLAGS		
LIBS		-lmld
RANLIB			echo
SIZE_T			size_t
UID_T			uid_t
GID_T			gid_t
PID_T			pid_t
POINTER			void
FORK			fork
FREEVAL			void
_EXITVAL		void
##OS: Irix 5.2 and Irix 5.3
##COMPILER: Supplied
##MISC:<BR>
Go to the table of contents
##FROM: Chantelle Keller <<A HREF="mailto:ckeller@ithaca.edu">ckeller@ithaca.edu</A>>
##DIFF:
CFLAGS                $(DEFS) -g3 -O2
PROF                  -p
LDFLAGS               -g -O2
LINTFLAGS             -b -u -x -wkD $(DEFS)
LINTFILTER            | sed -n -f ../sedf.sysv
SIZE_T                unsigned long
POINTER               void
ALARMVAL              unsigned int
SLEEPVAL              unsigned int
QSORTVAL              void
LSEEKVAL              off_t
FREEVAL               void
_EXITVAL              void
_PATH_COMPRESS        /usr/bin/compress
_PATH_EGREP           /usr/bin/egrep
_PATH_AWK             /usr/bin/awk
_PATH_SED             /usr/bin/sed
_PATH_MAILCMD         /usr/bin/Mail
##OS: DEC Alpha with OSF/1 v3.2
##COMPILER: standard Digital-supplied cc compiler
##MISC:<BR>
I also had to make the following changes:
   - In innd/rc.c, lib/remopen.c, backends/rcompress.c, and 
include/clibrary.h, had to change all inet_addr references from 
"unsigned long" to "unsigned int".
   - In innd/rc.c, had to change "extern unsigned long htonl();" to 
"extern unsigned int htonl();"
   - In lib/makellib.sh, had to change "exec lint ${FLAGS} -u -v -x -o 
inn $* >/dev/null" to "exec lint ${FLAGS} -u -v -x -oinn $* >/dev/null" 
(i.e. remove space between "-o" and "inn")
##From: "Scott J. Ellentuch" <<A HREF="mailto:tuc@valhalla.stormking.com">tuc@valhalla.stormking.com</A>>
##DIFF:
LIBS			-lbsd
##OS: AIX 3.2.5 from IBM
##Compiler: xlc 1.3
 
##MISC: See also Install.ms
Go to the table of contents
##FROM: Gary E. Miller <<A HREF="mailto:gem@rellim.com">gem@rellim.com</A>>
##DIFF:
CC			gcc
CFLAGS			$(DEFS) -O -fomit-frame-pointer
PROF			-p
SIZE_T			size_t
UID_T			uid_t
GID_T			gid_t
PID_T			pid_t
POINTER			void
SIGVAR		sig_atomic_t
CTYPE			isXXXXX((c))
ABORTVAL		void
ALARMVAL		unsigned int
GETPIDVAL		pid_t
SLEEPVAL		unsigned int
QSORTVAL		void
FREEVAL			void
_EXITVAL		void
##OS: Linux V. >= 1.3.57
##Compiler: gcc 
#MISC: You also need libc >=5.2.18. If you have older versions of Linux
and/or libc, you have to turn off mmap() support.
Go to the table of contents
##FROM: Erik R. Leo <<A HREF="mailto:erikl@sover.net">erikl@sover.net</A>>
##DIFF:
CC			gcc2
LDFLAGS			-lipc
MAN1			/usr/contrib/man/man1
MAN3			/usr/contrib/man/man3
MAN5			/usr/contrib/man/man5
MAN8			/usr/contrib/man/man8
NEWSMASTER		news
SIZE_T			size_t
UID_T			uid_t
GID_T			gid_t
PID_T			pid_t
POINTER			void
FREEVAL			void
_EXITVAL		void
##OS: BSD/OS 2.1; P90 hardware; patches K210-001 thru K210-007,
K210-revoke, U210-001 thru U210-005, U210-007 thru U210-015 ;
K210-revoke seems to have been "released" as K210-008 (and K210-009, I
think)
##COMPILER: gcc version 2.7.2
##MISC: 256MB RAM (!); using kernel options: maxusers 256,
DFLDSIZ="\(64*1024*1024\)", MAXDSIZ="\(128*1024*1024\)",
CHILD_MAX="256", KMEMSIZE="\(16*1024*1024\)",
DFLSSIZ="\(4*1024*1024\)" and NMBCLUSTERS="1024"; 
newest sharedactive patch applied (and modified with MAX_ACTIVE_SIZE 1000000, 
MAX_GROUPS 30000 and RELOAD_DELAY 60); 
using "su -m news -c /var/news/etc/rc.news >/dev/console" to start.
Go to the table of contents
##FROM: Paul Wouters <<A HREF="mailto:paul@ns.via.nl">paul@ns.via.nl</A>>
##DIFF:
YACC			bison -y
UID_T			uid_t
GID_T			gid_t
PID_T			pid_t
FREEVAL			void
_EXITVAL		void
##OS: HP-UX hp9000 B.10.01 A 9000/801
##COMPILER: gcc 2.6.3
GNU bison 1.22
##MISC: 
Some minor notes on getting it to compile. My syslog.h is not in <sys/syslog.h>
but <syslog.h>, and it doesn't contain LOG_NEWS. A new syslog is probably
much wanted on the standard hpux-10.01. I used the one from a recent berkeley
syslog.h :
#define LOG_NEWS        (7<<3)  /* network news subsystem */
Also, HPUX doesn't come with yacc. I tried byacc 3.0 but it didn't work, so
I used bison -y. Finally, HPUX doens't have egrep, i used the GNU version.
-----
Daryl Gaumer (darylg@cup.hp.com) adds:
I use the syslog that is shipped as part of HP-UX.  I have the
following in
my config.data file:
    egrep ships with HP-UX (as part of the "core-OS"). It is /usr/bin/egrep on 
	a system running 9.05 (and on my workstation with is running HP-UX 10.01).
##FROM: Fumio MORIYA <<A HREF="mailto:momo@yk.fujitsu.co.jp">momo@yk.fujitsu.co.jp</A>>
##DIFF:
DEFS                    -I../include -DUXPDSV20
PROF                    -p
LIBS                    -lnsl -lsocket -lelf -lresolv
LINTFLAGS               -b -h $(DEFS)
LINTFILTER              | sed -n -f ../sedf.sysv
RANLIB                  echo
SIZE_T                  size_t
UID_T                   uid_t
GID_T                   gid_t
PID_T                   pid_t
POINTER                 void
> CTYPE			(isascii((c)) && isXXXXX((c)))
ABORTVAL                void
ALARMVAL                unsigned
GETPIDVAL               pid_t
SLEEPVAL                unsigned
QSORTVAL                void
LSEEKVAL                off_t
FREEVAL                 void
_EXITVAL                void
_PATH_SENDMAIL          /usr/ucblib/sendmail -t
_PATH_COMPRESS          /usr/bin/compress
_PATH_EGREP             /usr/bin/egrep
_PATH_MAILCMD           /usr/bin/mailx
##OS: UXP/DS V20L10 (SVR4.2)
##COMPILER:  supplied.
##MISC:
*** nc.c.orig   Fri Aug 30 11:47:19 1996
--- nc.c        Fri Aug 30 11:20:52 1996
***************
*** 1216,1220 ****
      NCclearwip(&NCwip[cp->fd]);
  #if   defined(SOL_SOCKET) && defined(SO_SNDBUF) && defined(SO_RCVBUF) 
! #ifndef SUNOS5
      i = 24 * 1024;
      if (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (char *)&i, sizeof i) < 0)
--- 1216,1220 ----
      NCclearwip(&NCwip[cp->fd]);
  #if   defined(SOL_SOCKET) && defined(SO_SNDBUF) && defined(SO_RCVBUF) 
! #if !defined(SUNOS5) && !defined(UXPDSV20)
      i = 24 * 1024;
      if (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (char *)&i, sizeof i) < 0)
##FROM: psmith@baynetworks.com (Paul D. Smith)
##DIFF:
LIBS                  # empty
SIGVAR                long int
QSORTVAL              int
MISSING_SRC           memmove.c strerror.c
MISSING_OBJ           memmove.o strerror.o
_PATH_SENDMAIL          /usr/lib/sendmail -oi -t
_PATH_MAILCMD           /usr/ucb/Mail
##OS: SunOS 4.1.x 
##COMPILER:  gcc 2.7.2.1
##MISC:
Go to the table of contents
##FROM: mark@pyramid.com (Mark Wedel)
##DIFF:
CC                      /usr/ccs/bin/cc
LIBS                    -lnsl -lsocket -lelf
LINTFLAGS               -b -h $(DEFS)
LINTFILTER              | sed -n -f ../sedf.sysv
RANLIB                  echo
MISSING_MAN             strcasecmp.3
MISSING_SRC             strcasecmp.c
MISSING_OBJ             strcasecmp.o
##OS: DC/OSx
##COMPILER: 
##MISC: These should also apply to Sinix 5.43 (and perhaps other
versions)
Go to the table of contents
##FROM: Olav Kolbu <<A HREF="mailto:olav.kolbu@usit.uio.no">olav.kolbu@usit.uio.no</A>>
##DIFF:
CC                            cc
CFLAGS                        $(DEFS) -g -Ae
DBZCFLAGS                     $(CFLAGS) -Ae
LIBS
LINTFLAGS                     -b -h $(DEFS)
LINTFILTER                    | cat
LOCK_STYLE                    LOCKF
HAVE_SETPROCTITLE             DONT
HAVE_TM_GMTOFF                DONT
HAVE_VFORK                    DO
_PATH_MAILCMD                 /usr/bin/mailx
INNWATCH_DF                   /bin/bdf
##OS: HP-UX 10.20
##COMPILER: HP's non-bundled (extra $$$) ANSI C compiler
##MISC:
Oddities:
1. The HPUX syslogd knows about LOG_NEWS (even got an entry in
<syslog.h>)
   but the actual syslogd doesn't recognice the "news" facility. Using
   "56.whatever" instead of "news.whatever" however appears to work fine.
> uname -a
HP-UX aragorn B.10.20 A 9000/735 unknown
> what /bin/cc
/bin/cc:
        HP92453-01 A.10.32.08 HP C Compiler
         /usr/lib/libc: $Revision: 1.6 $
>  what /bin/yacc
/bin/yacc:
##FROM: Michael Szczuka <<A HREF="mailto:michael.szczuka@mch.sni.de">michael.szczuka@mch.sni.de</A>>
##DIFF:
LDFLAGS			-L/usr/ucblib
LIBS			-lsocket -lnsl -lucb -lelf
LINTFLAGS		-b -h $(DEFS)
RANLIB			echo
##OS: Reliant Unix 5.43 C0024 on a MIPS RM300-C62 (Siemens Nixdorf)
##COMPILER: gcc 2.7.2
##MISC:
   - the environment is by no means vanilla Reliant Unix 5.43. I've installed
     a good deal of GNU software. This has primarily effect on the paths
     but doesn't really affect compilation of INN (at least I don't think
     so). The only important change in the paths is for sed; /sbin/sed 
     (the one that comes with Reliant Unix 5.43) didn't pass the sedtest,
     so I took the GNU version (sed-v2.05).
   - gettimeofday() uses only _one_ argument, so you have to change the 
     call in lib/gettime.c (line 33) from
	 if (gettimeofday(&tv, (struct timezone *)NULL) == -1)
     to
	 if (gettimeofday(&tv) == -1)
##FURTHER NOTES:<BR>
   - subst.c won't compile with gcc unless you explicitely tell him to use
     gcc - and you have no license for the cc that comes with the system ...
     This is no problem if you use the shell version.
##FROM: "Bob Farmer" <<A HREF="mailto:ucs_brf@unx1.shsu.edu">ucs_brf@unx1.shsu.edu</A>>
##DIFF:
CC			cc
LIBS			-L/usr/ccs/lib -lelf -lgen -lresolv -lsocket -lnsl -lcrypt
SIGVAR			int
##OS: UnixWare 2.1.2
##COMPILER: cc (supplied)
##MISC: The gzip, awk, and sed in /usr/local/bin are the corresponding GNU
utilities.  This is with UnixWare 2.1.2 (the latest version at the
moment), and the cc that's supplied with the system of course.  I have the
UnixWare Software Development Kit installed, I don't think it's necessary
to compile INN though.  The same setup should more or less work for all
UnixWare 2.x versions.  1.x would probably be somewhat different...