🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1338

Re: Help with C-News

#1338
From: Brian Willoughby
Date: Thu, 08 Oct 1992 02:32
33 lines
1576 bytes
john a mastrolia writes
| For those familiar with installing c-news!  I need some help/advice on  
| installing c-news on my NeXTStation Turbo system.  I tried to execute the  
| scripts (with the guidance of the Canada NUG .ps file) under both 2.2 & 3.0.   
| Both reported the same problem in the second script file executed (not exact  
| output):
| 
| putenv.c number of parameters did not match prototype.
| Exit 1 *******
| + Stop

Here is the diff of the changes I made to putenv.c to compile a working C-News  
under 3.0:

diff -r /tmp/O_c-news/libfake/putenv.c /LocalLibrary/C-News/libfake/putenv.c
19c19
< char *var;
---
> const char *var;

While I'm at it, I might as well mention the rest of the changes I had to make  
(expire.c was the only other file which I had to modify):

diff -r /tmp/O_c-news/expire/expire.c /LocalLibrary/C-News/expire/expire.c
121c121
< extern double atof();
---
> //extern double atof();

-- 
Brian Willoughby	Software Design Engineer, BSEE NCSU
BrianW@SoundS.WA.com	Sound Signal Processing Software and Consulting
NeXTmail welcome	- NO EMAIL SOLICITATION without prior permission
Technical Details
Message-ID: <Bvs71w.Cu@sounds.wa.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!nwnexus!sounds!brianw
References: <1992Oct6.04902.26701@ms.uky.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!nwnexus!sounds!brianw
From: BrianW@SoundS.WA.com (Brian Willoughby)
Subject: Re: Help with C-News
Message-ID: <Bvs71w.Cu@sounds.wa.com>
Sender: brianw@sounds.wa.com (Brian Willoughby)
Reply-To: BrianW@SoundS.WA.com
Organization: SoundSoftware, Bellevue, WA, USA
References: <1992Oct6.04902.26701@ms.uky.edu>
Date: Thu, 8 Oct 1992 02:32:19 GMT
Lines: 33