🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Jim Ertle Sun, 05 Aug 1990 20:22
getting it going
#777
Author: Jim Ertle
Date: Sun, 05 Aug 1990 20:22
85 lines
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!!
Re: getting it going
#781
Author: John R. Schutz
Date: Mon, 06 Aug 1990 01:59
34 lines
1976 bytes
Well, I had the exact same problem setting up my nn the first time.
One thing, it is NOT necessary to set up both the nnmaster and client
programs ... just install the nnmaster...that's one problem.  I have
extended file names defined (Exact define name not remembered) and
mine makes a DATA directory (rather necessary)...another thing, watch
out for defining your DB directory...um, here's some defines from
mine...

#define BIN_DIRECTORY   "/usr/local/bin"
#define LIB_DIRECTORY   "/usr/local/lib/nn"

#define DB_DIRECTORY "/usr/spool/nn"
#define DB_LONG_NAMES

#define NEWS_DIRECTORY          "/usr/spool/news"
#define NEWS_LIB_DIRECTORY /* "/usr/local/bin/inews" */
"/usr/local/lib/news"
#define INEWS_PATH              "/usr/local/bin/inews"  /* */

#define NNTP                    /* */
#define NNTP_SERVER     "/usr/local/lib/news/nntp_server"
/* #define NNTP_POST             /* */
#define NNTP_MINI_INEWS_HEADER  /* uses "broken" mini-inews */

well, these things work on my system (BSD 4.3...altho it shouldn't
make a difference...)  hope this helps...

					john

--
|  John R. Schutz                  | Internet: john@csrnxt1.ae.utexas.edu   |
|  Center for Space Research	   | NeXTmail: ditto			    |
|  Programmer (NeXT)	  	   | THENET  : UTCSR::JOHN		    |
|  Etc.				   | Standard disclaimer		    |
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