🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #48245

Re: Compiling slrn 0.9.5.5 on Solaris V2.4

#48245
From: Frank Hahn
Date: Tue, 27 Apr 1999 00:00
66 lines
2931 bytes
On 26 Apr 1999 21:58:04 GMT, John E. Davis <davis@space.mit.edu> wrote:
>On Mon, 26 Apr 1999 21:33:39 GMT, Frank Hahn <fhahn@zdnetmail.com>
>wrote:
>>sltcp_close_sltcp                   slrn.o
>>sltcp_open_sltcp                    slrn.o
>>ld: fatal: Symbol referencing errors. No output written to slrn
>>make[1]: *** [/home/dfh/temp/slrn/src/objs/slrn] Error 1
>>make[1]: Leaving directory `/home/dfh/temp/slrn/src'
>>make: *** [all] Error 2
>
>I am 99% sure that you compiled it without NNTP support.  Here is a
>patch:
>
>--- slrn.c~	Sat Apr 24 20:17:34 1999
>+++ slrn.c	Mon Apr 26 17:54:21 1999
>@@ -815,7 +815,7 @@
>    (void) slrn_reset_slang ();
> #endif
> 
>-#if SLRN_USE_SLTCP
>+#if SLRN_USE_SLTCP && SLRN_HAS_NNTP_SUPPORT
>    (void) sltcp_close_sltcp ();
> #endif
>    lock_file (0);
>@@ -1176,7 +1176,7 @@
> 	else if (use_color == -1) SLtt_Use_Ansi_Colors = 0;
>      }
> 
>-#if SLRN_USE_SLTCP
>+#if SLRN_USE_SLTCP && SLRN_HAS_NNTP_SUPPORT
>    /* This is necessary to ensure that gethostname works on Win32 */
>    if (-1 == sltcp_open_sltcp ())
>      slrn_exit_error ("Error initializing SLtcp interface");
>
Yes I did.  Here are the lines from the top of my slrnfeat.h file:

#define SLRN_HAS_PULL_SUPPORT   1
#define SLRN_HAS_NNTP_SUPPORT   0
#define SLRN_HAS_SPOOL_SUPPORT  1
#define SLRN_HAS_INEWS_SUPPORT  0

I think I tried to outsmart myself.  In the past, I think I had
left these alone or deleted INEWS_SUPPORT.  I was thinking that
since I was using slrn to read from the spool directory provided
by slrnpull, that I could do without the NNTP support.

If I change the above to:

#define SLRN_HAS_PULL_SUPPORT   1
#define SLRN_HAS_NNTP_SUPPORT   1
#define SLRN_HAS_SPOOL_SUPPORT  1
#define SLRN_HAS_INEWS_SUPPORT  0

it compiles fine.

Was I correct in thinking that I could do without NNTP support
if I read directly from a local spool or do I need to have NNTP
support at all times?  I was thinking that I would need NNTP
support if I was reading directly from a news server.

Thanks.

-- 
Frank Hahn

Technical Details
Message-ID: <925232309.762.36@news.remarQ.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <925162419.097.68@news.remarQ.com> <slrn7i9oba.6tb.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <925232309.762.36@news.remarQ.com>
Subject: Re: Compiling slrn 0.9.5.5 on Solaris V2.4
Date: Tue, 27 Apr 1999 00:00:00 +0000
From: fhahn@zdnetmail.com (Frank Hahn)
References: <925162419.097.68@news.remarQ.com> <slrn7i9oba.6tb.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 471530442
X-Complaints-To: newsabuse@remarQ.com
X-Trace: 925232309.762.36 5B4ZYJX.M288AD0A4C usenet1.supernews.com
Organization: Posted via RemarQ Communities, Inc.
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: fhahn@zdnetmail.com
NNTP-Posting-Date: Tue, 27 Apr 1999 16:58:29 GMT
Newsgroups: news.software.readers