[news.software.nntp] NNTP under Sun OS 4.0

abrams@bnlux0.bnl.gov (The Ancient Programmer) (06/21/89)

	I have been trying to install NNTP.1.5 & RRN.39 on a Sun 3 under 
OS 4.0.1, and have run into a few problems.  I had succeeded in building
NNTP.1.4 with RRN.39 as a client on a Sun 3 under OS 3.4.
	First off in RRN.39, Configure requires that respose_codes.h be in 
nntp/common, when at level 1.5, nntp.h has replaced it. That was fixed easily, 
but then...
	At OS 4 Sun has changed the definition of "signal" from int to void
in /usr/include/signal.h, while in util.c the return from signal is used
for a subsequent call back to signal.
	In /usr/include/signal.h:
		void    (*signal())();

	In rrn/util.c:
Line 36:	int (*signal())();
Line 64:	istat = signal(SIGINT, SIG_IGN);
Line 65:	qstat = signal(SIGQUIT, SIG_IGN);
Line 76:	signal(SIGINT, istat);
Line 77:	signal(SIGQUIT, qstat);

	If I blunder past that problem, I encounter the following:

make: Fatal error: Don't know how to make target `getactive.o'

	I generated RRN and NNTP.1.5 from the current versions of the tar
files on ucbvax.berkeleys.edu.

	Has anyone gotten RRN & NNTP.1.5 running under Sun OS 4.0.1 as an
NNTP client?

		Any help gratefully accepted.  Thanks in advance.

-- 
INTERNET:	abrams@bnlux0.bnl.gov
BITNET:		abrams@bnlux0.BITNET
UUCP:		...philabs!sbcs!bnlux0!abrams