*BSD News Article 5391


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!mcsun!Germany.EU.net!open.de!teddy!germany!horga!ruhr.de!reswi!smart.bo.open.de!smart!tom
From: tom@smart.bo.open.de (Thomas Neumann)
Subject: Re: 386BSD: news stuff
In-Reply-To: umrose05@ccu.umanitoba.ca's message of Wed, 9 Sep 1992 21:42:31 GMT
Message-ID: <TOM.92Sep21083532@smart.bo.open.de>
Sender: nntpost@smart.bo.open.de (NNTP-Posting-Agent)
Organization: News at smart
References: <1992Sep9.214231.15640@ccu.umanitoba.ca>
Date: Mon, 21 Sep 1992 07:35:36 GMT
Lines: 36

>>>>> "Dave" == Dave Rose <umrose05@ccu.umanitoba.ca> writes:

Dave> 	Has anyone gotten cnews to successfully compile on 386bsd? If
Dave> so, could you post what version of cnews and the fixes needed to
Dave> get it to run? Also, what about nn6.14?

Yes. I've installed cnews just yesterday on a friends machine running
386bsd (the december 1991 version of cnews, no need for the bugs from
the more recent ``performance release'' :-))

Problems?
Not many. A key to success is to have GNU's bash installed as
/bin/sh. The 386bsd /bin/sh loses on some of the more complex cnews
scripts. Don't ask me why.

Next one ... cnews needs ftime() in several places (getdate() and
related stuff), however, ftime seems to be missing in 386bsd.
Fortunately, the required /usr/include/sys/timeb.h is there, so I
added a q&d ftime() rewrite and added it to libfake.a,
so each program that needed it could pick it up.

Ah, one more: If your ``make depend'' seems to simply hang until you
interrupt it after echoing ``Making depend under conf ...'', this is
due to 386bsd make not passing MAKEFLAGS somehow, so sub-makes may
get invoked with (make - depend; ...). Note the lack of any commandline
flags after the hyphen just before depend. This causes make to wait and
read stdin, of course :-)
Solution: make MAKEFLAGS=k depend
          make MAKEFLAGS=k clean 
          ... and so on ...
It may be better to use GNU-make or Dmake if available.


Having all that out of the way, it works like a charm ...

bye -- Thomas