Thread View: news.software.readers
5 messages
5 total messages
Started by Strictly Commercial
Fri, 12 Sep 1997 00:00
Iain: help me compile tin!
Author: Strictly Commercial
Date: Fri, 12 Sep 1997 00:00
Date: Fri, 12 Sep 1997 00:00
54 lines
2118 bytes
2118 bytes
to Iain or anyone with tin compilation experience:
I'm attempting to install tin for the first time on a Solaris machine
(a SPARC Classic, Solaris 2.5) and having big problems.
I'm using gcc and have entered the following in the makefile under
compiler config information:
CC = gcc
COPTS = -c -g -DNNTP_ONLY
I want the posts to come from mymachine.domain.edu so I've entered the
following in the 'from' area:
NNTP_INEWS_GATEWAY= \"skidmore.edu\"
#NNTP_INEWS_DOMAIN=
I've specified the nntp server:
NNTP_DEFAULT_SERVER= news.skidmore.edu
and when I attempt a 'make sysv' (is this the correct type to make
for a Solaris Machine?), I get the following:
Compiling tin v1.22 for System V...
gcc -c -g -DNNTP_ONLY -DSYSV \
-DNNTP_INEWS_GATEWAY=\"\"skidmore.edu\"\" \
-DNNTP_INEWS_DOMAIN=\"\" \
-DNNTP_DEFAULT_SERVER=\"news.skidmore.edu\" \
-DLIBDIR=\"/usr/lib/news\" \
-DSPOOLDIR=\"/usr/spool/news\" \
-DNOVROOTDIR=\"/usr/spool/news\" active.c
In file included from active.c:15:
tin.h:135: sys/bsdtypes.h: No such file or directory
tin.h:137: sys/pty.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `active.o'
Current working directory /downloads/tin-1.22
*** Error code 1
make: Fatal error: Command failed for target `sysv'
is this an error with the compiler, or am I missing something in the
configuration options?
thanks for any and all help!!
Ben
brunning@skimdore.edu
Re: Iain: help me compile tin!
Author: T.E.Dickey
Date: Fri, 12 Sep 1997 00:00
Date: Fri, 12 Sep 1997 00:00
63 lines
2517 bytes
2517 bytes
Strictly Commercial <brunning@calvin.skidmore.edu> wrote: : to Iain or anyone with tin compilation experience: try tin-unoff (it has a configure script, which simplifies a lot of this). akk4.akk.uni-karlsruhe.de:/pub/news/clients/tin-unoff : I'm attempting to install tin for the first time on a Solaris machine : (a SPARC Classic, Solaris 2.5) and having big problems. : I'm using gcc and have entered the following in the makefile under : compiler config information: : : CC = gcc : COPTS = -c -g -DNNTP_ONLY : I want the posts to come from mymachine.domain.edu so I've entered the : following in the 'from' area: : NNTP_INEWS_GATEWAY= \"skidmore.edu\" : #NNTP_INEWS_DOMAIN= : I've specified the nntp server: : NNTP_DEFAULT_SERVER= news.skidmore.edu : and when I attempt a 'make sysv' (is this the correct type to make : for a Solaris Machine?), I get the following: : Compiling tin v1.22 for System V... : gcc -c -g -DNNTP_ONLY -DSYSV \ : -DNNTP_INEWS_GATEWAY=\"\"skidmore.edu\"\" \ : -DNNTP_INEWS_DOMAIN=\"\" \ : -DNNTP_DEFAULT_SERVER=\"news.skidmore.edu\" \ : -DLIBDIR=\"/usr/lib/news\" \ : -DSPOOLDIR=\"/usr/spool/news\" \ : -DNOVROOTDIR=\"/usr/spool/news\" active.c : In file included from active.c:15: : tin.h:135: sys/bsdtypes.h: No such file or directory : tin.h:137: sys/pty.h: No such file or directory : *** Error code 1 : make: Fatal error: Command failed for target `active.o' : Current working directory /downloads/tin-1.22 : *** Error code 1 : make: Fatal error: Command failed for target `sysv' : is this an error with the compiler, or am I missing something in the : configuration options? : thanks for any and all help!! : Ben : brunning@skimdore.edu -- Thomas E. Dickey dickey@clark.net http://www.clark.net/pub/dickey
Re: Iain: help me compile tin!
Author: Strictly Commercial
Date: Sun, 14 Sep 1997 00:00
Date: Sun, 14 Sep 1997 00:00
47 lines
2451 bytes
2451 bytes
Urs =?iso-8859-1?Q?Jan=DFen?= (urs@akk.uni-karlsruhe.de) wrote: : try 'make sysvr4' : or update to tin-unoff[1] which comes with a configure script : urs : [1] ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff/ Ok, thanks for the advice, I've gotten a little farther but I'm still having one problem with both the official and unofficial versions. All the files compile, but the linking fails. Here are the results of 'make sysvr4' for the 'official' version if case you've seen anything similar. The unofficial version returns similar results. # make sysvr4 Compiling tin v1.22 for System V Release 4... Linking tin v1.22... gcc -o tin active.o amiga.o art.o curses.o debug.o envarg.o feed.o getline.o group.o hashstr.o help.o inews.o init.o kill.o lang.o mail.o main.o memory.o misc.o newsrc.o nntplib.o open.o os_2.o page.o parsdate.o post.o prompt.o rcfile.o save.o screen.o search.o select.o sigfile.o signal.o spooldir.o strftime.o thread.o wildmat.o win32.o xref.o -lcurses -ltermcap Undefined first referenced symbol in file socket nntplib.o gethostbyname nntplib.o getservbyname nntplib.o inet_addr nntplib.o inet_ntoa nntplib.o connect nntplib.o ld: fatal: Symbol referencing errors. No output written to tin *** Error code 1 make: Fatal error: Command failed for target `linkit' Current working directory /downloads/tin-1.22 *** Error code 1 make: Fatal error: Command failed for target `sysvr4' # -- ____________________________________________ Ben. http://www.skidmore.edu/~brunning nuff said ____________________________________________
Re: Iain: help me compile tin!
Author: T.E.Dickey
Date: Sun, 14 Sep 1997 00:00
Date: Sun, 14 Sep 1997 00:00
29 lines
1959 bytes
1959 bytes
doesn't the tin-unoff configure script find -lsocket/-lnsl, etc? (if not, I'd like to see the config.log, config.cache to see what went wrong) Strictly Commercial <brunning@saims.skidmore.edu> wrote: : Here are the results of 'make sysvr4' for the 'official' version if : case you've seen anything similar. The unofficial version returns : similar results. : # make sysvr4 : Compiling tin v1.22 for System V Release 4... : Linking tin v1.22... : gcc -o tin active.o amiga.o art.o curses.o debug.o envarg.o feed.o getline.o group.o hashstr.o help.o inews.o init.o kill.o lang.o mail.o main.o memory.o misc.o newsrc.o nntplib.o open.o os_2.o page.o parsdate.o post.o prompt.o rcfile.o save.o screen.o search.o select.o sigfile.o signal.o spooldir.o strftime.o thread.o wildmat.o win32.o xref.o -lcurses -ltermcap : Undefined first referenced : symbol in file : socket nntplib.o : gethostbyname nntplib.o : getservbyname nntplib.o : inet_addr nntplib.o : inet_ntoa nntplib.o : connect nntplib.o -- Thomas E. Dickey dickey@clark.net http://www.clark.net/pub/dickey
Re: Iain: help me compile tin!
Author: billy
Date: Mon, 15 Sep 1997 00:00
Date: Mon, 15 Sep 1997 00:00
38 lines
1648 bytes
1648 bytes
Strictly Commercial <brunning@calvin.skidmore.edu> writes: > I'm attempting to install tin for the first time on a Solaris machine > (a SPARC Classic, Solaris 2.5) and having big problems. In the rare event anyone wants to compile tin v1.2 - # Add Loren Weith's <lweith@newton.utoledo.edu> Solaris 2.5 with # gcc 2.7.2 compile option. CC = gcc COPTS = -c -O2 -w LD = $(CC) YACC = yacc # For Solaris 11-Apr-97 LJW solaris: @echo "Compiling $(EXE) v$(VER) for Solaris..." @$(MAKE) CC=$(CC) CFLAGS='$(COPTS) -static -DSYSV \ -DNNTP_INEWS_DOMAIN=\"$(NNTP_INEWS_DOMAIN)\" \ -DNNTP_DEFAULT_SERVER=\"$(NNTP_DEFAULT_SERVER)\" \ -DHAVE_SYS_PTEM_H \ -DHAVE_TERMIO_H \ -DDONT_HAVE_SYS_BSDTYPES_H \ -UHAVE_SYS_PTY_H \ -DLIBDIR=\"$(LIBDIR)\" \ -DSPOOLDIR=\"$(SPOOLDIR)\" \ -DNOVROOTDIR=\"$(NOVROOTDIR)\"' \ LIBS="-lncurses -lsocket -lnsl $(INN_NNTPLIB)" \ EXE=tin linkit You'll have to add to this for the particular configuration (such as NNTP_ONLY) you'd like and change ncurses to curses if need be. Billy Y..
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