🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Cory Tsang Wed, 08 Dec 1993 23:16
TIN 1.22 on Solaris
#6872
Author: 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
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