SUMMARY: make error: library -ltermcap/compiling bash

From: Mark Fergusson (MFerg@ddntl.didata.co.za)
Date: Tue Sep 17 1996 - 02:28:51 CDT


Hi all,

Thanks to all who replied. ( Apologies for late summary ).

termcap could be in /usr/ucblib, add in -L/usr/ucblib, but advised not
to use it.

use -lcurses instead of -ltermcap
        termcap is Sun OS/BSD, Solaris/SysV uses terminfo

/usr/ccs/lib/libcurses.a is in package SUNWarc

It turns out that the bash package had its own ltermcap, but had to be
configured to build the termcap library.
Edit the machines.h. Under the Sun Microsystems, there is a section
"Check for SunOS4 or greater". Uncomment the
define USE_GNU_TERMCAP. This is referred to in cpp-Makefile.

Thanks to:
Casper@holland.sun.com
Bleary@state.ma.us
Glenn.Satchell@Uniq.com.au
Jim@telecnnct.com
Mathew.Stier@imonics.com
Johnb@Soliton.com
hxktb0@svmail.supervalu.com

The original question:

>
>Solaris 2.4
>gcc-2.7.2
>
>Hi all,
>
>I have been trying in vain to get bash-1.14.7 to "make". There might be
>a simple answer ?
>
>The symptom after running "make":
>
>ld: fatal: library -ltermcap: not found
>
>Any help/comments would be appreciated.
>
>Thanks in advance.
>
>
>=======================================================
>Mark Fergusson Voice: (27) - 31 - 838333
>Dimension Data Fax: (27) - 31 - 848525
>PO Box 20713 Cellular: 082-4465-118
>Durban North Email:
>mferg@ddntl.didata.co.za
>4016
>South Africa Web:
>http://www.didata.co.za
>=======================================================
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:10 CDT