Thread View: news.software.readers
11 messages
11 total messages
Started by Chuck Fisher
Tue, 27 Jul 1993 14:25
TRN 3.1 compilation errors on Sun SPARC
Author: Chuck Fisher
Date: Tue, 27 Jul 1993 14:25
Date: Tue, 27 Jul 1993 14:25
14 lines
1285 bytes
1285 bytes
I downloaded the trn 3.1 patch from ftp.uu.net and successfully applied it to my trn 3.0 base. I'm running on a SPARCstation 1+ on SunOS 4.1. I ran Configure and then when I started a make, got a number of compiler warnings and then finally a error which aborted the make. I didn't have any trouble with the 3.0 base. Has anyone else run into trouble with trn 3.1 on a a Sun SPARC? Thanks, Chuck -- Chuck Fisher mtdiablo system administrator chas@mtdiablo.uccp Work: (800) 359-7997 ..!netcom!mtdiablo!chas Home: (408) 435-3011 B3/4 f++ t- w g+ dc k+ s+ m r l P7
Re: TRN 3.1 compilation errors on Sun SPARC
Author: John Benninghoff
Date: Tue, 27 Jul 1993 17:05
Date: Tue, 27 Jul 1993 17:05
17 lines
1527 bytes
1527 bytes
In article <1993Jul27.142548.19895@netcom!ncselxsi!mtdiablo>, Chuck Fisher <chas@netcom!ncselxsi!mtdiablo> wrote: >I downloaded the trn 3.1 patch from ftp.uu.net and successfully >applied it to my trn 3.0 base. I'm running on a SPARCstation 1+ on >SunOS 4.1. I ran Configure and then when I started a make, got a >number of compiler warnings and then finally a error which aborted the >make. I didn't have any trouble with the 3.0 base. Has anyone else >run into trouble with trn 3.1 on a a Sun SPARC? I couldn't complete the Configure script because the hints subdirectory was missing. I don't know why it was missing. I down-loaded the 3.1 tar file and after a few attempts with Configure I got it right and its working great now. I compiled under Solaris2.2. /John
Re: TRN 3.1 compilation errors on Sun SPARC
Author: Philip C Kizer
Date: Tue, 27 Jul 1993 17:44
Date: Tue, 27 Jul 1993 17:44
32 lines
1945 bytes
1945 bytes
OK...just a 'me too' message. Got the patch, applied it, no rejects, configure: no hints...failed. Got the .tar.gz, configure, (it did the correct sgtty :), make, no problems whatsoever. Still testing it out...but looks great. -philip jb@corp.sun.com (John Benninghoff) wrote: >Chuck Fisher <chas@netcom!ncselxsi!mtdiablo> wrote: >>I downloaded the trn 3.1 patch from ftp.uu.net and successfully >>applied it to my trn 3.0 base. I'm running on a SPARCstation 1+ on >>SunOS 4.1. I ran Configure and then when I started a make, got a >>number of compiler warnings and then finally a error which aborted the >>make. I didn't have any trouble with the 3.0 base. Has anyone else >>run into trouble with trn 3.1 on a a Sun SPARC? > >I couldn't complete the Configure script because the hints subdirectory was >missing. I don't know why it was missing. > >I down-loaded the 3.1 tar file and after a few attempts with Configure I got >it right and its working great now. I compiled under Solaris2.2. ____________________________________________________________ Philip Kizer ___ Texas A&M Unix Workstation Group pckizer@tamu.edu
Re: TRN 3.1 compilation errors on HPUX 8.02
Author: Mark Bixby
Date: Tue, 27 Jul 1993 18:26
Date: Tue, 27 Jul 1993 18:26
11 lines
1265 bytes
1265 bytes
Configure runs fine, but "make" fails with numerous compile errors on my HP 9000/817 running HPUX 8.02. The patch version fails, and so does the complete 3.1 distribution. 3.0 builds just fine here. -- Mark Bixby Internet: markb@cccd.edu Coast Community College District 1370 Adams Avenue District Information Services Costa Mesa, CA, USA 92626 Technical Support (714) 432-5064 "You can tune a file system, but you can't tune a fish." - tunefs(1M)
Re: TRN 3.1 compilation errors on Sun SPARC
Author: Wayne Davison
Date: Tue, 27 Jul 1993 18:44
Date: Tue, 27 Jul 1993 18:44
31 lines
1668 bytes
1668 bytes
According to Chuck Fisher <chas@netcom!ncselxsi!mtdiablo>: > I downloaded the trn 3.1 patch from ftp.uu.net and successfully > applied it to my trn 3.0 base. I'm running on a SPARCstation 1+ on > SunOS 4.1. I ran Configure and then when I started a make, got a > number of compiler warnings and then finally a error which aborted the > make. It would be useful to have mentioned (summarized?) the warnings and especially the error. Just as a totally off-the-wall, I'm-trying-to- read-your-mind guess, try the following patch, which fixes a bug with getenv() not getting declared when a system does not have stdlib.h: Index:common.h @@ -63,4 +63,5 @@ char *malloc(); char *realloc(); +char *getenv(); #endif @@ -754,5 +755,4 @@ char *index(); char *rindex(); -char *getenv(); char *strcat(); char *strcpy(); And if you're getting warnings about index/rindex calls, try adding the define -DSUPPLIMENT_STRING_H to your ccflags line in config.sh. -- Wayne Davison davison@borland.com
Re: TRN 3.1 compilation errors on Sun SPARC
Author: Wayne Davison
Date: Tue, 27 Jul 1993 18:50
Date: Tue, 27 Jul 1993 18:50
13 lines
1287 bytes
1287 bytes
According to John Benninghoff <jb@corp.sun.com>: > I couldn't complete the Configure script because the hints subdirectory was > missing. I don't know why it was missing. It was missing because you didn't supply the -p option to patch as the patch clearly indicates you should. Without this option, patch gleefully creates all the new files in the current directory. To fix it you would have to manually create the hints subdirectory and move all the .sh files (not including config.sh) into it. Of course, grabbing the tar release also works. -- Wayne Davison davison@borland.com
Re: TRN 3.1 compilation errors on Sun SPARC
Author: Matt McConnell
Date: Tue, 27 Jul 1993 22:12
Date: Tue, 27 Jul 1993 22:12
21 lines
1548 bytes
1548 bytes
I have had the exact same problem. I get a number of errors then it aborts the make and I had zero problems with trn-3.0 release. stderr follows: "art.c", line 235: warning: illegal combination of pointer and integer, op = "art.c", line 263: warning: illegal combination of pointer and integer, op != "art.c", line 277: warning: illegal combination of pointer and integer, op = "art.c", line 279: warning: illegal combination of pointer and integer, op == "art.c", line 545: operands of - have incompatible types "art.c", line 896: warning: illegal combination of pointer and integer, op == "art.c", line 897: warning: illegal combination of pointer and integer, op != *** Error code 1 make: Fatal error: Command failed for target `art.o' -- -- Matthew McConnell <mccomatt@ba.isu.edu>
Re: TRN 3.1 compilation errors on Sun SPARC
Author: Wayne Davison
Date: Wed, 28 Jul 1993 01:38
Date: Wed, 28 Jul 1993 01:38
13 lines
1314 bytes
1314 bytes
According to Matt McConnell <mccomatt@ba.isu.edu>: > I have had the exact same problem. I get a number of errors then it aborts > the make and I had zero problems with trn-3.0 release. For those of you upgrading from trn 3.0, please be sure to rerun Configure before attempting to re-make trn. If you encounter build problems, trash your config.sh file and start from scratch using a hint file for your system (if it is available). This will allow Configure to pick the string.h/strings.h file that matches the index/strchr function it is looking for. If you still have problems, mail me. -- Wayne Davison davison@borland.com
Re: TRN 3.1 compilation errors on Sun SPARC
Author: Steve Robbins
Date: Wed, 28 Jul 1993 03:28
Date: Wed, 28 Jul 1993 03:28
29 lines
2064 bytes
2064 bytes
In article <23498q$5eg@cwis.isu.edu>,
Matt McConnell <mccomatt@ba.isu.edu> wrote:
>
>I have had the exact same problem. I get a number of errors then it aborts
>the make and I had zero problems with trn-3.0 release.
>
>stderr follows:
>
>"art.c", line 235: warning: illegal combination of pointer and integer, op =
>"art.c", line 263: warning: illegal combination of pointer and integer, op !=
>"art.c", line 277: warning: illegal combination of pointer and integer, op =
>"art.c", line 279: warning: illegal combination of pointer and integer, op ==
>"art.c", line 545: operands of - have incompatible types
>"art.c", line 896: warning: illegal combination of pointer and integer, op ==
>"art.c", line 897: warning: illegal combination of pointer and integer, op !=
>*** Error code 1
>make: Fatal error: Command failed for target `art.o'
I had this same problem. When I ran Configure, using the sunos_4_1 hints,
it said I should use <string.h> instead of <strings.h>, so I believed it.
Trouble is, index(), which is used in the offending lines, is declared in
<strings.h> not <string.h>. So rerunning Configure and ignoring the hint
cured the problem.
Steve Z
--
Steve Robbins -- System Administration
Email: steve@mcrcim.mcgill.edu Phone: 398-8285
trn-3.2 Questions for Sun SPARC
Author: albright
Date: Wed, 04 Aug 1993 01:48
Date: Wed, 04 Aug 1993 01:48
15 lines
1280 bytes
1280 bytes
When I type trn I get the following message:
Can't chdir to directory /usr/spool/news
When Configure was run I entered the following for that:
Where is news spooled? (~name ok) [/usr/spool/news]
Directory /usr/spool/news doesn't exist. Use that name anyway? [y]
So my question is what directory should I be looking for? Or what
should the needed directory have in it?
Thanx for your time,
-Nick
Re: trn-3.2 Questions for Sun SPARC
Author: Steven King, Software Archaeolog...
Date: Thu, 05 Aug 1993 13:48
Date: Thu, 05 Aug 1993 13:48
28 lines
2196 bytes
2196 bytes
albrnick@bobcat.ent.ohiou.edu (albright) publicly declared:
> When I type trn I get the following message:
>
>Can't chdir to directory /usr/spool/news
>
> When Configure was run I entered the following for that:
>
>Where is news spooled? (~name ok) [/usr/spool/news]
>Directory /usr/spool/news doesn't exist. Use that name anyway? [y]
>
> So my question is what directory should I be looking for? Or what
>should the needed directory have in it?
What the Configure script is looking for is the directory where news
articles are physically stored. The root of this tree structure is
usually /usr/spool/news, but this of course can be changed by your
system administrator. If you use NNTP you may not have a local news
spool at all.
I suggest talking to your system administrator to find out how he has
news set up at your site. (And maybe get him to install trn
officially, while you're at it.)
--
-------------------------------------------------------+-----------------------
There has never been an unexpectedly short debugging | Steven King
period in the history of computers. | Motorola Cellular
(Steven Levy, "Hackers") | king@rtsg.mot.com
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