🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Mark McWiggins Tue, 01 Nov 1994 03:19
nn 6.5.b.0.3 on Solaris: where are tgoto() et. al.?
#6656
Author: Mark McWiggins
Date: Tue, 01 Nov 1994 03:19
9 lines
1101 bytes
I'm trying to get nn 6.5b03 going on a Solaris 2.3 box, but tgoto() and
some other term routines come up undefined even though they're in the man
page.

Did we just miss installing the right package from CDROM, or what? Thanks
in advance for any assistance whatever.
-- 
Mark McWiggins      Hermes & Associates		  +1 206 632 1905 (24 hrs.)
mark@hermes.com     Box 31356, Seattle WA 98103   +1 206 632 1738 (fax)
Re: nn 6.5.b.0.3 on Solaris: where are tgoto() et. al.?
#6653
Author: Casper H.S. Dik
Date: Tue, 01 Nov 1994 14:08
32 lines
1924 bytes
markdmc@netcom.com (Mark McWiggins) writes:

>I'm trying to get nn 6.5b03 going on a Solaris 2.3 box, but tgoto() and
>some other term routines come up undefined even though they're in the man
>page.

>Did we just miss installing the right package from CDROM, or what? Thanks
>in advance for any assistance whatever.

(Don't use ucb libraries, libcurses should come from /usr/ccs/lib)

The solaris FAQ says:

6.11) Why do I get undefined symbols when linking with curses/termcap?

    It is easy to mixup the BSD libcurses and the SVR4 libcurses.
    One lives in /usr/ucblib, the other in /usr/ccs/lib, when
    you've installed SUNWarc.  Note that when you specify:

	    -L/usr/ucblib -lucb -L/usr/ccs/lib -lcurses

    you will pick the *ucb* version of libcurses, not the SVR4
    version.  If you always put libucb last, as recommended in the
    previous question, you will have no such problem.

    --- end of excerpt from the FAQ

Questions marked with a * or + have been changed or added since
the FAQ was last posted

The most recently posted version of the FAQ is available from
ftp.fwi.uva.nl in directory /pub/solaris
Re: nn 6.5.b.0.3 on Solaris: where are tgoto() et. al.?
#6654
Author: R. Stewart Ellis
Date: Tue, 01 Nov 1994 14:36
29 lines
2277 bytes
markdmc@netcom.com (Mark McWiggins) writes:

 >I'm trying to get nn 6.5b03 going on a Solaris 2.3 box, but tgoto() and
 >some other term routines come up undefined even though they're in the man
 >page.

 >Did we just miss installing the right package from CDROM, or what? Thanks
 >in advance for any assistance whatever.
 >-- 
 >Mark McWiggins      Hermes & Associates		  +1 206 632 1905 (24 hrs.)
 >mark@hermes.com     Box 31356, Seattle WA 98103   +1 206 632 1738 (fax)

I have been running SVR4 for about 3-4 years, and SunOS 5.x for over 2
years.  In my experience, most problems compiling programs that have already
been ported stem from letting some of the bsd src compat cruft get in the
way.  If you make sure that /usr/ucb is last in your path statement and that
you are not including anything in /usr/ucbinclude and not linking with
anything in /usr/ucblib, then make sure you include the right conf/s-* file,
I would be very surprised if it did not compile.  'make clean' and 'nohup
make' if it does not work and send me the nohup.out file.  People trying to
compile stuff for SVR4 or SunOS5.x should get the Solaris Porting FAQ from
rtfm.mit.edu or from comp.sys.solaris.


-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______ 
  Flint, MI 48504      ellis@nova.gmi.edu               /        / /  /  / /
  Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ /  /  / /
Re: nn 6.5.b.0.3 on Solaris: where are tgoto() et. al.?
#6661
Author: Kai Voigt
Date: Wed, 02 Nov 1994 08:10
20 lines
1668 bytes
In <markdmcCyKJwA.LG5@netcom.com> markdmc@netcom.com (Mark McWiggins) writes:

>I'm trying to get nn 6.5b03 going on a Solaris 2.3 box, but tgoto() and
>some other term routines come up undefined even though they're in the man
>page.

>Did we just miss installing the right package from CDROM, or what? Thanks
>in advance for any assistance whatever.

tgoto() is a termcap function, so you have to link the termcap library
to your sources.  Have a look in the conf directory and edit the file
that is specified in config.h as your system dependent header file.
There you will have to specify if your system has termio or not and
you can define the TERMLIB constant...

Kai
--
Kai Voigt, Werftstrasse 2, 24148 Kiel, Germany, +49 431 7297514
"sendmail.cf looks like a context diff of two core files."
                  -- sjm@ra12.curtin.edu.au (Simon Mackinlay)
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