Thread View: news.software.nn
8 messages
8 total messages
Started by Douglas Brick
Wed, 19 Apr 2000 00:00
nn with nntp on Linux, compile problems
Author: Douglas Brick
Date: Wed, 19 Apr 2000 00:00
Date: Wed, 19 Apr 2000 00:00
25 lines
1519 bytes
1519 bytes
Sorry if this has already been discussed somewhere... I did look everywhere I could think of, but.... I can't get nn with nntp to work on Linux: If I grab one of the standard nn with nntp packages from the Net and then try to connect to news.isp.giganews.com, I get: > Connecting to NNTP server news.speakeasy.org ... ok (posting is allowed) > can't create time hash (-8193 entries) So I try compiling nn from scratch (on Redhat 6.1): If I use the "use termcap" option, it compiles just fine, but the screen is a mess when I try to use nn. If I use the "use terminfo" option, the compile breaks, with an error message about varargs. Does anyone have a patch, suggestions, wild-guesses...? Thanks--db
Re: nn with nntp on Linux, compile problems
Author: Sascha Geschwandtner
Date: Thu, 20 Apr 2000 00:00
Date: Thu, 20 Apr 2000 00:00
24 lines
1473 bytes
1473 bytes
Douglas Brick <dbrick@eve.speakeasy.net> writes: >If I grab one of the standard nn with nntp packages from the Net and >then try to connect to news.isp.giganews.com, I get: > >> Connecting to NNTP server news.speakeasy.org ... ok (posting is allowed) >> can't create time hash (-8193 entries) Looks like an old version. Try to get a newer one. >So I try compiling nn from scratch (on Redhat 6.1): > >If I use the "use termcap" option, it compiles just fine, but the >screen is a mess when I try to use nn. The same on my system. Mixture of Red Hat 6.0 + Halloween. >If I use the "use terminfo" option, the compile breaks, with an error >message about varargs. Perhaps there are some header files missing? Did you install ncurses-devel?
Re: nn with nntp on Linux, compile problems
Author: Sven Guckes
Date: Thu, 20 Apr 2000 00:00
Date: Thu, 20 Apr 2000 00:00
9 lines
966 bytes
966 bytes
* Douglas Brick <dbrick@eve.speakeasy.net>: > X-Newsreader: Gnus v5.7/Emacs 20.4 > I can't get nn with nntp to work on Linux: Hmm.. a Gnus reader. Trick question? Sven
Re: nn with nntp on Linux, compile problems
Author: Douglas Brick
Date: Fri, 21 Apr 2000 00:00
Date: Fri, 21 Apr 2000 00:00
43 lines
2445 bytes
2445 bytes
Yes, I get the same error whether I use ncurses or regular curses.
If I remember correctly, the error said something like "only one
argument given to varargs".... hmmm, guess I'd better try compiling it
again....
Here's the error sequence during make:
gcc -Iconf -O2 -O -c term.c -o term.o
In file included from /usr/include/curses.h:72,
from term.c:29:
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h:90:
warning: `va_start' redefined
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/varargs.h:106:
warning: this is the location of the previous definition
term.c:882: macro `va_start' used with just one arg
term.c:1017: macro `va_start' used with just one arg
term.c:1090: macro `va_start' used with just one arg
term.c:2020: macro `va_start' used with just one arg
term.c:2037: macro `va_start' used with just one arg
term.c:2137: macro `va_start' used with just one arg
make[1]: *** [term.o] Error 1
make[1]: Leaving directory `/usr/local/src/news/nn-6.5.6'
make: *** [all] Error 2
sam@s.netic.de (Sascha Geschwandtner) writes:
> Douglas Brick <dbrick@eve.speakeasy.net> writes:
>
> >If I use the "use terminfo" option, the compile breaks, with an error
> >message about varargs.
>
> Perhaps there are some header files missing?
> Did you install ncurses-devel?
* * *
Men have a much better time of it than woemn; for one thing, they
marry later; for another thing they die earlier.
H.L. Mencken (1880-1956)
Re: nn with nntp on Linux, compile problems
Author: Matthew Clarke
Date: Sat, 22 Apr 2000 00:00
Date: Sat, 22 Apr 2000 00:00
48 lines
2551 bytes
2551 bytes
Douglas Brick <dbrick@eve.speakeasy.net> writes: >Yes, I get the same error whether I use ncurses or regular curses. >If I remember correctly, the error said something like "only one >argument given to varargs".... hmmm, guess I'd better try compiling it >again.... >Here's the error sequence during make: >gcc -Iconf -O2 -O -c term.c -o term.o >In file included from /usr/include/curses.h:72, > from term.c:29: >/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h:90: >warning: `va_start' redefined >/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/varargs.h:106: >warning: this is the location of the previous definition >term.c:882: macro `va_start' used with just one arg >term.c:1017: macro `va_start' used with just one arg >term.c:1090: macro `va_start' used with just one arg >term.c:2020: macro `va_start' used with just one arg >term.c:2037: macro `va_start' used with just one arg >term.c:2137: macro `va_start' used with just one arg >make[1]: *** [term.o] Error 1 >make[1]: Leaving directory `/usr/local/src/news/nn-6.5.6' >make: *** [all] Error 2 I ran into this, too, but didn't keep notes, and can't remember what I did to fix it. Unpacking a fresh source tree and doing a recursive diff, I see these two changes in conf/s-linux.h, which might be the fix. - changed "#define HAVE_TERMIO_H" to "#define HAVE_TERMIOS_H" - changed "#define TERMLIB -ltermcap" to "#define TERMLIB -lncurses" See if those changes make any difference. If not, E-mail me, and I'll recreate the problem and keep notes this time. see ya... Matt. -- work: clamat@van.maves.ca (Maves International Software, Inc.) play: Matthew_Clarke@mindlink.bc.ca or CompuServe: 74040,2221 "Has anybody else noticed that Space 1999 can now be classified as an alternate history show rather than science fiction?" -- Joe Zeff, in a.s.r.
Re: nn with nntp on Linux, compile problems
Author: Douglas Brick
Date: Fri, 28 Apr 2000 00:00
Date: Fri, 28 Apr 2000 00:00
31 lines
2126 bytes
2126 bytes
Well, it compiled just fine. I'll log out of here and try the new nn,
see if it works. Hopefully I'll be reporting back soon.
Matthew Clarke <Matthew_Clarke@mindlink.bc.ca> writes:
> >Here's the error sequence during make:
>
> >gcc -Iconf -O2 -O -c term.c -o term.o
> >In file included from /usr/include/curses.h:72,
[....]
> >make[1]: Leaving directory `/usr/local/src/news/nn-6.5.6'
> >make: *** [all] Error 2
>
> I ran into this, too, but didn't keep notes, and can't remember what I did
> to fix it. Unpacking a fresh source tree and doing a recursive diff, I
> see these two changes in conf/s-linux.h, which might be the fix.
>
> - changed "#define HAVE_TERMIO_H" to "#define HAVE_TERMIOS_H"
> - changed "#define TERMLIB -ltermcap" to "#define TERMLIB -lncurses"
* * *
Our land is more valuable than your money. As long as the sun shines
and the waters flow, this land will be here to give life to men and
animals; therefore, we cannot sell this land. It was put here for us
by the Great Spirit and we cannot sell it because it does not belong
to us.
Blackfoot chief, (c. 1880)
Re: nn with nntp on Linux, compile problems
Author: Douglas Brick
Date: Fri, 28 Apr 2000 00:00
Date: Fri, 28 Apr 2000 00:00
35 lines
2346 bytes
2346 bytes
Damn... compiled just great, but the display is all jumbled together
again.
Matthew, I'll write to you with details. But anyone else who might
have any clues on this, please let me know.
Thanks--db
Douglas Brick <dbrick@eve.speakeasy.net> writes:
> Well, it compiled just fine. I'll log out of here and try the new nn,
> see if it works. Hopefully I'll be reporting back soon.
>
> Matthew Clarke <Matthew_Clarke@mindlink.bc.ca> writes:
>
> > I ran into this, too, but didn't keep notes, and can't remember what I did
> > to fix it. Unpacking a fresh source tree and doing a recursive diff, I
> > see these two changes in conf/s-linux.h, which might be the fix.
> >
> > - changed "#define HAVE_TERMIO_H" to "#define HAVE_TERMIOS_H"
> > - changed "#define TERMLIB -ltermcap" to "#define TERMLIB -lncurses"
* * *
The programmer, like the poet, works only slightly removed from pure
thought-stuff. He builds his castles in the air, from air, creating by
exertion of the imagination. Few media of creation are so flexible, so
easy to polish and rework, so readily capable of realizing grand
conceptual structures. (As we shall see later, this very tractability
has its own problems.)
Frederick P. Brooks, Jr., The Mythical
Man-Month (1975)
Re: nn with nntp on Linux, compile problems
Author: Matthew Clarke
Date: Sun, 30 Apr 2000 00:00
Date: Sun, 30 Apr 2000 00:00
43 lines
2278 bytes
2278 bytes
Douglas Brick <dbrick@eve.speakeasy.net> writes: >Damn... compiled just great, but the display is all jumbled together >again. >Matthew, I'll write to you with details. But anyone else who might >have any clues on this, please let me know. >Thanks--db [ snip ] Hi. Got your e-mail, but am responding here because someone else indicated similar problems. OK, the s-linux.h changes got you a clean compile. Good. I can't reproduce the scrunched screen here. Hrmpf. I think I've seen it before, as I briefly tried nn on AIX a while ago, and had scrunched screen when linking with "-ltermcap" but not when linking with "-lcurses". But then, that's been a common fix for screen problems on AIX. And has nothing to do with Linux. You said RedHat 6.1. Which ncurses is that? I'm using ncurses-5.0 patched to 2000-04-01, and this is a no-distribution Linux box. I've used this nn in xterms (stock XFree86 & Thomas Dickey's patches,) and on the Linux console (2.2.x,) and both work fine. Which terminal(s) or emulations are you using? Aside from suspecting something in ncurses or lower down in the stack of shifting sandsoftware most of us use, (other libraries/build toolchain/os/hardware,) I'm out of ideas. Matt. -- work: clamat@van.maves.ca (Maves International Software, Inc.) play: Matthew_Clarke@mindlink.bc.ca or CompuServe: 74040,2221 "Has anybody else noticed that Space 1999 can now be classified as an alternate history show rather than science fiction?" -- Joe Zeff, in a.s.r.
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