🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jeff Kight Sat, 24 Oct 1992 15:54
Compiling on an HP9000/730 HP-UX Release 8.07: November 1991
#1568
Author: Jeff Kight
Date: Sat, 24 Oct 1992 15:54
84 lines
3709 bytes
Greets...I have an evaluation HP9000/730 that was dropped off without
any docs (besides the manpages) by an HP Marketing guy. (and I have
yet to hear back from them)

I am evaluating the box to see if it would make a good nntp news
and gopher/wais info server.

I started by compiling some tools/environment that I like to have,
tcsh, perl, emacs, nntp (client) and trn.

So far so good...Then I compiled cnews and nntp (server) -- had to
tweak some things...but it "compiled."  When I went to test the nntp
server, the nntp access was working (btw I compile/install/maintain
news on my other news boxes) but no commands would register...

ie:
200 rac NNTP server version 1.5.11 (10 February 1991) ready at Sat Oct 24
11:29:08 1992 (posting ok).

but help/list etc... would give no response... it just hangs.

I guess my main question is...just what kind of box is the HP9000/730?!?
The manpages are stamped with HP-UX Release 8.07: November 1991...

It seems to be System Vish, also with BSD extensions, etc..etc..

The readme under nntp suggests:

>If you're compiling this under hpux, you'll may need to edit
>Makefile and add
>
>        LIBS = -lbsdipc -lBSD
>
>Later version of hpux don't need this. Be sure that you define
>USG in conf.h. That is necessary.
>
>updated 3/11/90 by Stan Barber

>hp9000_700.sh from perl.4.035/hints
>libswanted='ndbm m'
>ccflags="$ccflags -DJMPCLOBBER"
>optimize='+O1'
>d_mymalloc=define
>alignbytes=8

>more hpux.sh from perl.4.035/hints
>echo " "
>echo "NOTE: regression test op.read may fail due to an NFS bug in HP/UX."
>echo "If so, don't worry about it."
>case `(uname -r) 2>/dev/null` in
>*3.1*) d_syscall=$undef ;;
>*2.1*) libswanted=`echo $libswanted | sed 's/ malloc / /'` ;;
>esac
>d_index=define

Perl4.035 configure yields some clues:
>Hmm...  Doesn't look like a MIPS system.
>Looks kind of like a USG system, but we'll see...
>What optimizer/debugger flag should be used? [+O1]
>Any additional cc flags? [ -DJMPCLOBBER]
>Any additional libraries? [-lndbm -lm]
>Doubles must be aligned on a how-many-byte boundary? [8]
>What is the order of bytes in a long? [4321]
>You have the full msg*(2) library.
>Looks like you have Berkeley networking support.
>sys/file.h defines the O_* constants...
>and you have the 3 argument form of open().
>You have the full sem*(2) library.
>You have the full shm*(2) library.
>Your stdio is pretty std.
>How many bits does your rand() function produce? [15]

Anyone have suggestions? I would be glad to hear from anyone with
general info about the compiler/what type of unix beast it is and
specific info about compiling cnews and nntp (server).

I am going to give gopher and wais a shot next...

Jeff
-- 
Jeff Kight                                           jkight@american.edu
The American University Computing Center                  (202) 885-2281
Washington DC  20016-8019 USA                         Fax (202) 885-2224
Re: Compiling on an HP9000/730 HP-UX Release 8.07: November 1991
#1570
Author: System Admin (Mike Peterson)
Date: Sun, 25 Oct 1992 16:05
48 lines
2841 bytes
In article <1992Oct24.155415.3926@paladin.american.edu> jkight@american.edu writes:
>So far so good...Then I compiled cnews and nntp (server) -- had to
>tweak some things...but it "compiled."  When I went to test the nntp
>server, the nntp access was working (btw I compile/install/maintain
>news on my other news boxes) but no commands would register...
>
>ie:
>200 rac NNTP server version 1.5.11 (10 February 1991) ready at Sat Oct 24
>11:29:08 1992 (posting ok).
>
>but help/list etc... would give no response... it just hangs.

#undef USG in server/timer.c (only) - that should make everything OK
assuming you made reasonable guesses for conf.h (USG is right for
everything else). When you get to C News, you will have to get around
the awk brain-damage by supplying your own awk that works, or
replacing all the '\t' in the awk scripts with real tabs.

To get C News to function, I modified:

libusg/ftime.c: "extern clock_t times();"

expire/Makefile: remove dependency of "newsinstall" on "explist" since
		 'doit.news' can't write into the expire directory
		 (and all the work was done by 'doit.bin' anyways).

relay/sh/tear, relay/aux/sendnews: set $PATH to prepend the special
	         directories (which contain links for 'awk', 'mail'
		 and 'rsh' to programs that actually work):

/usr/local/binspecial:

lrwxr-xr-x   1 root     sys           14 Jul 22 10:00 mail -> /usr/bin/mailx
lrwxr-xr-x   1 root     sys           14 Jul 22 10:00 rsh -> /usr/bin/remsh

/usr/local/lib/newsspecial:

-rwxr-xr-x   1 root     sys       180224 Jul 17 12:17 awk-7.0
lrwxr-xr-x   1 root     sys            7 Jul 17 12:22 awk -> awk-7.0

I put binspecial at the front of everyones path, and newsspecial at the
front of the news path (with binspecial).

Mike.
-- 
What are the chances that any HP computer system will ever "work" properly?
... and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads