Article View: news.software.nn
Article #777getting it going
From: Jim Ertle
Date: Sun, 05 Aug 1990 20:22
Date: Sun, 05 Aug 1990 20:22
85 lines
3290 bytes
3290 bytes
Hi Again!
Maybe I should go into a little more depth on what I've done to
install nn on my system.
First, I changed the "CFLAGS" in Makefile to include "-Bstatic" -
this is so I can step through with a debugger without ending up in
the middle of the machine code for sprintf ( or something similar ).
Next, I copied config.h-dist to config.h, and I edited it.
#define NNTP - I uncommented, as I want NNTP
#define NNTP_server - set appropriately, i.e. the name of the
file that contains the name of the NNTP server.
#define NNTP_MINI_INEWS_HEADER - I plan to use the version
sent with the nn package.
#include "s-sunos4-0.h" - that's what we're using.
pager = more, printer = lpr, resizing is defined.
#include "m-sparc.h" - that is what we're using.
#define OWNER "ertle" - that's me!
#define GROUP "staff" - that's my main group!
As I am not the super user, I changed all of the appropriate
directories to someplace in my home directory, including ;
BIN_DIRECTORY, LIB_DIRECTORY, DB_DIRECTORY, NEWS_DIRECTORY,
and NEWS_LIB_DIRECTORY.
From there, I chose sendmail, HAVE_ROUTING, APPEND_SIGNATURE,
BUG_REPORT_ADDRESS, left the man dirs the way they were, and
didn't touch anything under LOCAL POLICY.
From there, I used "make" to compile it all, used "inst" to install
"m" - nnmaster only, "c" - client progs only, and "INIT" to initialize
the data-base. All of this seemed to work just fine, creating
.nn/MASTER and .nn/GROUPS. I then ran "nnmaster -D -O5". This also
seemed to work just fine, apparently reading in article headers
1288 alt.activism (1239..1288)
Col alt.activism (1239 to 1288) 50
339 alt.aquaria (290..339)
Col alt.aquaria (301 to 339) 39
.
.
.
So I thought everything worked.
I made an "init" file and placed it in the root of the nn
directories.
When I tried to run nn, I got "No news (is good news)".
So I tried to validate in nnadmin, and got :
alt.activism: NO INDEX FILE
alt.activism 0
first/last art: 001239 001288
active info: 000407 001288
Offsets: index->200, data->3852
Flags: VALID
Repair group Y)es N)o E)nter Q)uit >>>
I said yes, and got the same thing for every one after that.
The first time I tried to do all of this, I remember getting a DATA
subdirectory, but now that I've gotten the newer (patch #9) version, I
don't get a DATA file.
When I have my ".newsrc" file (from using gnus) in place, nn and
nncheck tell me of corruption in 3 or four groups. When I rename
".newsrc" ( so nn should build its own ), I get No news (is good news).
I don't know what I am doing wrong!!
Technical Details
Message-ID:
<1596@uvm-gen.UUCP>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!uvm-gen!ertleShow Full Headers
Complete Article Headers
Message-ID: <1596@uvm-gen.UUCP> Subject: getting it going Date: Sun, 05 Aug 1990 20:22:07 +0000 From: ertle@griffin.uvm.edu (Jim Ertle) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!uvm-gen!ertle Newsgroups: news.software.nn Sender: nobody@uvm-gen.UUCP Distribution: news.software.nn Organization: Division of EMBA, University of Vermont Lines: 85 Posted: Sun Aug 5 21:22:07 1990