🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
8 messages
8 total messages Started by Fletcher T. Penney Mon, 14 May 2001 06:28
Help - Looking for rpm
#9725
Author: Fletcher T. Penney
Date: Mon, 14 May 2001 06:28
16 lines
1401 bytes
Hi,

   I am looking to install nn, but am having difficulty getting it to 
compile, being relatively new to linux and compiling software.

   If anyone could point me to an RPM for a Red Hat install, I would be 
very grateful - I have been unable to find one in my searches on the web 
thus far....

   I am very desirous of getting nn up and running as I just don't like 
the other options as well...

   Thanks!!!

   Fletcher Penney
Re: Help - Looking for rpm
#9726
Author: those who know me have no need o...
Date: Mon, 14 May 2001 14:15
60 lines
2832 bytes
<fletcherpenney-1D1AFF.02280714052001@news> divulged:

>I am looking to install nn, but am having difficulty getting it to 
>compile, being relatively new to linux and compiling software.

what problem are you having?  (sorry, no rpms that i'm aware of.)

it's pretty straightforward:

        $ tar xzf nn-6.5.6.tar.Z 
        $ cd nn-6.5.6
        $ sed -e 's/m-hp9000/m-i80386/;s/s-hpux9-0/s-linux/' < config.h-dist >config.h
        $ make all
        [...]
        $ su root -c "cd $PWD && ./inst n"
        [...]
        $ ldd /usr/local/bin/nn
                libtermcap.so.2 => /lib/libtermcap.so.2 (0x4001f000)
                libc.so.6 => /lib/libc.so.6 (0x40023000)
                /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

or there's nn-tk, which is also pretty straightforward:

: tk
        $ tar xzf nn-tk.16.7.tgz 
        $ cd nn-tk.16.7
        $ ./configure 
        [...]
        $ make
        [...]
        $ su root -c "cd $PWD && ./inst t 7"
        [...]
        $ ldd /usr/local/bin/nn-tk
                libtk8.0.so => /usr/lib/libtk8.0.so (0x4001f000)
                libtcl8.0.so => /usr/lib/libtcl8.0.so (0x400bd000)
                libdl.so.2 => /lib/libdl.so.2 (0x40121000)
                libm.so.6 => /lib/libm.so.6 (0x40125000)
                libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40143000)
                libc.so.6 => /lib/libc.so.6 (0x401e7000)
                /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

: non-tk
        $ tar xzf nn-tk.16.7.tgz 
        $ cd nn-tk.16.7
        $ ./configure 
        [...]
        $ mv config.h config.h.tk
        $ sed -e 's/define TK/undef TK/' <config.h.tk >config.h
        $ make
        [...]
        $ su root -c "cd $PWD && ./inst 1 7"
        [...]
        $ ldd /usr/local/bin/nn
                libncurses.so.4 => /usr/lib/libncurses.so.4 (0x4001f000)
                libc.so.6 => /lib/libc.so.6 (0x40061000)
                /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

-- 
okay, have a sig then
Re: Help - Looking for rpm
#9733
Author: Fletcher T. Penney
Date: Tue, 15 May 2001 05:45
44 lines
2717 bytes
In article <tfvq4fg5ltbj3d@news.supernews.com>, 
not-a-real-address@usa.net (those who know me have no need of my name) 
wrote:

> what problem are you having?  (sorry, no rpms that i'm aware of.)

I found an rpm, but get an error of :
   Connecting to NNTP server news ...
   Connecting to NNTP server news ... ok (posting is allowed)
   can't create time hash (-31745 entries)

I get that error running as root or normal login


So I erased that and tried to follow your directions and got the same 
error I had before (I believe).  I fixed this by converting all leading 
series of 8 spaces to a tab in ymakefil.  after this make seemed to 
work.  When running nn, it freezes after displaying:
Release 6.5.6 (NOV)
   by Kim F. Storm, etc.

I figured I had not sufficiently configured config.h (in fact forgot to 
do anything with it this install) and tried to remake to no avail....

At this point I decided to try out slrn and it looks like it might offer 
some of the features I am looking for.....  

I am somewhat knowledgeable about computers, but on the early learning 
curve of linux and it isn't worth it to me to fiddle around with 
makefiles, etc., when i am not looking to really optimize my software.  
I was really impressed with the rpm idea, and decided it is too easy to 
not use....

Thank you very much for your suggestions, and I was so excited when it 
almost worked!!!  I probably just did not sufficiently alter the config 
file, and can't fix it now...  I'll keep an eye out for an rpm for those 
of us who are waiting on one....


Thanks!!!
Fletcher

(who will continue his search for a working nn rpm!!!  ;)
Re: Help - Looking for rpm
#9742
Author: those who know me have no need o...
Date: Tue, 15 May 2001 14:43
22 lines
1556 bytes
<some.address-E0BAB4.01450315052001@news> divulged:

>   Connecting to NNTP server news ... ok (posting is allowed)
>   can't create time hash (-31745 entries)

looks like there are too many newsgroups for nn to handle.

>At this point I decided to try out slrn and it looks like it might offer 
>some of the features I am looking for.....  

some of the things that nn does are somewhat unique, or poorly
implemented elsewhere.

>I was really impressed with the rpm idea, and decided it is too easy to 
>not use....

rpm's (or other packaging technologies) can make life easier, but they
just make you learn a different syntax in order to customize things.

-- 
okay, have a sig then
Re: Help - Looking for rpm
#9741
Author: Fletcher T. Penney
Date: Tue, 15 May 2001 15:45
22 lines
1689 bytes
On Tue, 15 May 2001 14:43:09 -0000, those who know me have no need of my name
<not-a-real-address@usa.net> wrote:
><some.address-E0BAB4.01450315052001@news> divulged:
>
>>   Connecting to NNTP server news ... ok (posting is allowed)
>>   can't create time hash (-31745 entries)
>
>looks like there are too many newsgroups for nn to handle.
>
any idea how to circumvent this?  None of my other programs have difficulty with
this number of groups, and I wasn't aware it was THAT high...

Thanks!

Fletcher


-- 

Fletcher T. Penney

Re: Help - Looking for rpm
#9760
Author: those who know me have no need o...
Date: Thu, 17 May 2001 15:38
16 lines
1456 bytes
<EacM6.29600$I5.6074874@news1.rdc1.tn.home.com> divulged:

>any idea how to circumvent this?  

several possibilities come to mind:  hack the code, convince your
provider that they should trim their list, download and trim the list
yourself, or install a proxy that trims the list.

>I wasn't aware it was THAT high...

nn was written in the days when there were less than 1000 groups.  nn-tk
might be able to handle more than 32k.

-- 
okay, have a sig then
Re: Help - Looking for rpm
#9761
Author: Michael T Pins
Date: Thu, 17 May 2001 18:46
32 lines
2458 bytes
not-a-real-address@usa.net (those who know me have no need of my name) writes:

><EacM6.29600$I5.6074874@news1.rdc1.tn.home.com> divulged:

>>any idea how to circumvent this?  

>several possibilities come to mind:  hack the code, convince your
>provider that they should trim their list, download and trim the list
>yourself, or install a proxy that trims the list.

>>I wasn't aware it was THAT high...

>nn was written in the days when there were less than 1000 groups.  nn-tk
>might be able to handle more than 32k.

So will nn (at least since nn-6.5.2, which was released three years ago).

As I've pointed out before, nn isn't the first newsreader to choke at too
many newsgroups.  The original rn had a hardcoded limit of 1000 newsgroups.
Of course, rn was written when there were less than 100 newsgroups.

The problem nn had was that the variable that holds the number of groups
was an unsigned 16-bit number, so when it saw more than 32k newsgroups, it
overflowed.  It's now an unsigned 32-bit number, so it's good for 2G
newsgroups.

--
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |     #include <std.disclaimer>     *
Re: Help - Looking for rpm
#9766
Author: those who know me have no need o...
Date: Fri, 18 May 2001 12:23
26 lines
1920 bytes
referring to <url:news:some.address-E0BAB4.01450315052001@news>:
>>>>   Connecting to NNTP server news ... ok (posting is allowed)
>>>>   can't create time hash (-31745 entries)

i guessed that it was due to too many groups, and offered the following
potential rationale.

<f0VM6.1247$Dd5.818563@ruti.visi.com> divulged:

>>nn was written in the days when there were less than 1000 groups.  nn-tk
>>might be able to handle more than 32k.
>
>So will nn (at least since nn-6.5.2, which was released three years ago).

that's what the error looked like to me.  i looked at the source to
6.5.6 and didn't see anything right off, but i wasn't going to look too
hard (since i do use a proxy, that eliminates many hierarchies,
including much of alt).

and since i had just given instructions showing how to compile 6.5.6 i
went on to assume that the op was, in fact, attempting that version as
well.

-- 
okay, have a sig then
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