🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by K Maguire Thu, 02 Jun 1994 00:44
Tin/Solaris/NNTP
#9315
Author: K Maguire
Date: Thu, 02 Jun 1994 00:44
23 lines
1740 bytes
I'm trying to build tin for my Solaris workstation.  After a bit of work 
on the makefile I've got it to compile but not run.  I want to read news 
via NNTP, creating index files locally if necessary.  I compiled with the 
-dNNTP_ONLY option, and after connecting, reading active, attributes, and 
newsgroups files, I get a message telling my '14;1hOutof Memory14;1H", or 
something similar and the program exits.  

I know the server I use has index files available, as I run tin from 
another (Ultrix) machine without creating local index files.  I do not 
know whether they are NOV style index files, or those created by the 
patched nntpd (as descibed in the INSTALL help files).  So I think it's 
just a matter of getting the compilation flags right, but I've tried both 
-DNNTP_ONLY and -DNNTP_ABLE (with tin -r) and both result in the same 
out of memory error.

Anyone any ideas?
Kevin

--
Kevin Maguire     	Dept Computer Science
Research Fellow		Queen's University of Belfast
email: 			k.maguire@qub.ac.uk
------------
Re: Tin/Solaris/NNTP
#9323
Author: K Maguire
Date: Thu, 02 Jun 1994 04:16
56 lines
2723 bytes
Here's the important bits of my Makefile.  

CC      = cc
COPTS   = -c -O2 -DDONT_HAVE_SYS_BSDTYPES_H -UHAVE_SYS_PTY_H -DSOLARIS 
-DNNTP_ONLY -DDEBUG-DUSE_INN_NNTPLIB 
LD      = $(CC)
YACC = bison --yacc
DEBUG   = -g -DDEBUG
# Where are your news libdir & spooldir?
LIBDIR  = /usr/lib/news
SPOOLDIR= /usr/spool/news
NOVROOTDIR= $(SPOOLDIR)
#
# Since I'm not reading from the local spool file, these bit don't matter 
# right?
#
# Where do you want the binary & manual page installed?
INS_BINARY_DIR  = /home/kmaguire/bin
INS_DAEMON_DIR  = $(LIBDIR)
INS_MANUAL_DIR  = /home/kmaguire/man/man
INS_MANUAL_EXT  = 1
# From: address in posted articles (don't use both - read the INSTALL file)
#
# As if I hadn't about a dozen times.
#
NNTP_INEWS_GATEWAY=
NNTP_INEWS_DOMAIN=.qub.ac.uk 
# Default nntp server (can be overridden by NNTPSERVER environment variable)
NNTP_DEFAULT_SERVER=news.math.fu-berlin.de
# Use INN clientlibs config functions (add -DUSE_INN_NNTPLIB to COPTS line)
INN_NNTPLIB= -lsocket -lnsl -lelf -lkvm
#
# and the bit that does the work
#
sysv:
        @echo "Compiling $(EXE) v$(VER) for System V..."
        @$(MAKE) CC=$(CC) CFLAGS='$(COPTS) -DSYSV \
                        -DNNTP_INEWS_DOMAIN=\"$(NNTP_INEWS_DOMAIN)\" \
                        -DNNTP_DEFAULT_SERVER=\"$(NNTP_DEFAULT_SERVER)\" \
                        -DNOVROOTDIR=\"$(NOVROOTDIR)\"' \
                        LIBS="-lcurses -ltermcap $(INN_NNTPLIB)" \
                        EXE=tin linkit

I've tried -DSMALL_MEMORY_MACHINE with the same result.  I'v tried make 
sysvr4, but then it doesn't compile at all.  I tried -DDEBUG, then 
running with -D1 but the 2 files produced in /tmp (ACTIVE & NNTP) told me 
nothing.  Anything else?

Any other ideas, particularly those that will work :-) would be appreciated.


--
Kevin Maguire     	Dept Computer Science
Research Fellow		Queen's University of Belfast
email: 			k.maguire@qub.ac.uk
------------
Re: Tin/Solaris/NNTP
#9433
Author: Jens Vieler
Date: Wed, 08 Jun 1994 12:05
13 lines
1290 bytes
K Maguire (kmaguire@qub.ac.uk) wrote:
: I've tried -DSMALL_MEMORY_MACHINE with the same result.  I'v tried make 
: sysvr4, but then it doesn't compile at all.  I tried -DDEBUG, then 
: running with -D1 but the 2 files produced in /tmp (ACTIVE & NNTP) told me 
: nothing.  Anything else?
: 
: Any other ideas, particularly those that will work :-) would be appreciated.

which solaris-version ?
try sysvr4 with -lnsl -lsocket - that works on our solaris 2.3

bis dann
      jens
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