🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by john a mastrolia Tue, 06 Oct 1992 00:49
Help with C-News
#1741
Author: john a mastrolia
Date: Tue, 06 Oct 1992 00:49
23 lines
1235 bytes
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 and 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

This .c file is included into the program at runtime because according to my  
installation guide, the NeXT does not have a putenv() function.  Any  
suggestions or help would be greatly appreciated.

Thanks in advance.


--
John A. Mastrolia		+1 606 257-2272
jamast00@mik.uky.edu		+1 606 257-6100
deepthought!outland!jmast@ms.uky.edu 
  University of Kentucky
  NeXT Mail enjoyed!
Re: Help with C-News
#1338
Author: 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
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