Article View: news.software.readers
Article #9323Re: Tin/Solaris/NNTP
From: K Maguire
Date: Thu, 02 Jun 1994 04:16
Date: Thu, 02 Jun 1994 04:16
56 lines
2723 bytes
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
------------
Technical Details
Message-ID:
<2sjmfb$m8h@lorne.stir.ac.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!swrinde!pipex!uknet!strath-cs!lorne.stir.ac.uk!kmaguireReferences:
<2sja2a$hi8@lorne.stir.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <2sjmfb$m8h@lorne.stir.ac.uk> Subject: Re: Tin/Solaris/NNTP Date: Thu, 02 Jun 1994 04:16:43 +0000 From: kmaguire@qub.ac.uk (K Maguire) References: <2sja2a$hi8@lorne.stir.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!swrinde!pipex!uknet!strath-cs!lorne.stir.ac.uk!kmaguire Newsgroups: news.software.readers Organization: The Queen's University of Belfast Lines: 56 Reply-To: k.maguire@qub.ac.uk NNTP-Posting-Host: kmaguire%@qe2.declab.cs.qub.ac.uk X-Newsreader: TIN [version 1.2 PL2]