🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6872

TIN 1.22 on Solaris

#6872
From: Cory Tsang
Date: Wed, 08 Dec 1993 23:16
77 lines
3734 bytes
Has anyone configured this beast for Solaris?  I've tried hacking my way through
it, but I've run into a block at curses.c.

Some changes I did were:

	-DSUNOS5 instead of -DSYSV
	added -lelf into LIBS

The error I get when I try to compile is:

Compiling tin v1.22 for Solaris 2.x with NNTP ONLY...
cc -c -O -DSUNOS5 -DNNTP_ONLY \
                -DUSE_INN_NNTPLIB \
                -DHAVE_FACIST_NEWSADMIN \
                -DHAVE_ISPELL \
                -DHAVE_LONG_FILENAMES \
                -DDONT_HAVE_NNTP_EXTS \
                -DNNTP_INEWS_GATEWAY=\"\" \
                -DNNTP_INEWS_DOMAIN=\"\".fiu.edu\"\" \
                -DNNTP_DEFAULT_SERVER=\"usenet.fiu.edu\" \
                -DLIBDIR=\"/home/dizzy/news\" \
                -DSPOOLDIR=\"/usr/spool/news\" \
                -DNOVROOTDIR=\"/usr/spool/news/over.view\" curses.c
"./tin.h", line 628: warning: macro replacement within a string literal
"curses.c", line 661: warning: improper member use: c_lflag
"curses.c", line 662: warning: improper member use: c_cc
"curses.c", line 663: warning: improper member use: c_cc
"curses.c", line 98: incomplete struct/union/enum termio: _original_tty
cc: acomp failed for curses.c
*** Error code 1
make: Fatal error: Command failed for target `curses.o'
Current working directory /fiu/dizzy/compsci/newsreaders/tin-1.22
*** Error code 1
make: Fatal error: Command failed for target `sol2'

sol2 is a group that I made in the Makefile based off of the sparc10_1 entry.

Oh, I also made some changes to tin.h.  It was coming up with some errors about
not finding <sys/bsdtypes.h> and <sys/ptys.h>.  Of course, this is because I am
on a Solaris machine (Sparc 10/52 with Solaris 2.2).  Now, how it decided that
I was using a BSD based machine (ifdef HAVE_SYS_PTY_H), I am not sure why.  The
entry that would have set that in config.h has been commented out.

Anyways, for that problem, I had changed the include to include <sys/elftypes.h>
and <sys/ptyvar.h>.  That seemed to clear things up a bit, but then the above
curses.c error nailed me.  The following is the code segment from curses.c that it
complains about:

struct termios _raw_tty, 
              _original_tty;
#               else
#                       ifndef M_OS2
>struct termio _raw_tty, 
>              _original_tty;
>#                       endif              
#               endif
#       endif
#endif
 
Can anyone give me a hand?  I think I remember seeing a binary on a site for
solaris2.2, but I really would like to be able to have my own source and be able
to compile it.

Please email responses or post if you think necessary :)

Thanks in advance,
Cory Tsang


-------------------------------------------------------------------------------

Cory Tsang
Programmer/Analyst			Office: (305) 348-2739
School of Computer Science, MS ECS354	Fax   : (305) 348-3549
Florida International University	9:30 am - 1:30 pm M-F
Miami, FL  33199
Technical Details
Message-ID: <2e5n8d$pr@schema.fiu.edu>
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!gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!caen!usenet.cis.ufl.edu!usenet.ufl.edu!max.fiu.edu!schema.fiu.edu!schema!cory

Show Full Headers
Complete Article Headers
Message-ID: <2e5n8d$pr@schema.fiu.edu>
Subject: TIN 1.22 on Solaris
Date: Wed, 08 Dec 1993 23:16:29 +0000
From: cory@schema.fiu.edu (Cory Tsang)
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!gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!caen!usenet.cis.ufl.edu!usenet.ufl.edu!max.fiu.edu!schema.fiu.edu!schema!cory
Newsgroups: news.software.readers
Organization: Florida International University, Miami
Lines: 77
Sender: cory@schema (Cory Tsang)
Distribution: na
NNTP-Posting-Host: schema.fiu.edu