Article View: news.software.nn
Article #9018Re: nn broken ? please help
From: Michael T Pins
Date: Fri, 21 May 1999 00:00
Date: Fri, 21 May 1999 00:00
65 lines
3363 bytes
3363 bytes
weber@rhrk.uni-kl.de (Christoph Weber-Fahr [KIT]) writes: >I can't get nn working in FreeBSD. >- The port appears to be broken by itself - MD5 mismatch. If I'm reading > the gnats database correctly, this is the case simce sometime last > Summer. Making with NO_CHECKSUM=yes cures this - it compiles > without complaining. I've actually never tried to port. The only FreeBSD box I ever loaded it on I did from the source tarball. > Question - is anybody aware of cahnges in the nn-6.5.3.tar.Z > file on the master site since the port was made ? I put nn-6.5.3.tar.Z up on July 20, 1998. Nothing in it has changed since. (nn7, however, is actually making real progress. The first alpha should be out in a month or so.) >- It works when working via nntp on an remote host >- it doesn't work when INN is installed on localhost. *sigh* Someone, at some point, decided that no one reading news off a local disk would want the overhead of nntp, and so overrode the config. This worked quite well for nnmaster, but apparently doesn't work so well with Overview. While I haven't tried it, in nntp.c around line 770 you'll see: use_nntp = (strcmp(host, server_real_name) != 0); change it to: use_nntp = 1; and see if that fixes the problem. (I don't *think* it will have other side effect, but who knows.) This is all fixed in nn7. >P.S. is news.software.nn really dead ? No, it's where I saw this. There isn't much traffic, but it exists. >P.P.S. I have also tried to compile the original sources myself, > according to the docs. I failed, even though there was a > freebsd machine file. Apparently there has changed quite a bit in > FreeBSD since this machine file was made. Which opens the > second thought - is nn itself somewhat dead, and we are seeing > normal symptoms of bitrot here ? nn isn't dead, it just wasn't getting much attention recently (too much to do, to little time, etc). While you'll get some warnings, the only change you should need to make to get nn-6.5.3 to compile under FreeBSD is in nntp.c around line 92 change: import char *sys_errlist[]; to: extern const char * const sys_errlist[]; (Yeah, I just tried it, I'm not sure why that gcc barfs on the const/no-const thing, it should generate a warning and continue....) -- ************************************************************************** * Michael T Pins | mtpins@visi.com * * keeper of the nn sources | mtpins@icaen.uiowa.edu * * ftp://ftp.visi.com/users/mtpins | #include <std.disclaimer> *
Technical Details
Message-ID:
<Tok13.79$j65.11097@ptah.visi.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<7hr5uf$eoi$1@sun.rhrk.uni-kl.de> <7i3t75$3pb$1@sun.rhrk.uni-kl.de>Show Full Headers
Complete Article Headers
Message-ID: <Tok13.79$j65.11097@ptah.visi.com> Subject: Re: nn broken ? please help Date: Fri, 21 May 1999 00:00:00 +0000 From: mtpins@visi.com (Michael T Pins) References: <7hr5uf$eoi$1@sun.rhrk.uni-kl.de> <7i3t75$3pb$1@sun.rhrk.uni-kl.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 480675167 X-Complaints-To: abuse@visi.com X-Trace: ptah.visi.com 927322803 209.98.98.8 (Fri, 21 May 1999 16:40:03 CDT) NNTP-Posting-Date: Fri, 21 May 1999 16:40:03 CDT Newsgroups: news.software.nn,news.software.readers,comp.unix.bsd.freebsd.misc