Subject: Re: gtexinfo vs. ncurses on Solaris
To: Charlie Allom <>
From: grant beattie <>
List: tech-pkg
Date: 01/19/2004 10:04:27
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 17, 2004 at 01:19:10AM +1100, Charlie Allom wrote:

> >this means gtexinfo can't be built on Solaris if ncurses is
> >installed.
> SOrry how does this stop gtexinfo?

I've committed a workaround for this, but here's the bits of my
build log before I did so. I'm not sure why autoconf thinks it can't
find termcap.h the first time around, but can the second time around.

'make configure':

checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no

'make build' reruns configure with --recheck:

/bin/ksh ./config.status --recheck
running /bin/ksh ./configure  --with-libiconv-prefix=3D/usr/pkg --with-libi=
ntl-prefix=3D/usr/pkg --host=3Dsparc-sun-solaris2 --prefix=3D/usr/pkg --x-i=
ncludes=3D/usr/openwin/include --x-libraries=3D/usr/openwin/lib CC=3Dcc CFL=
AGS=3D-O -I/usr/pkg/include CPPFLAGS=3D  -I/usr/pkg/include LDFLAGS=3D -Wl,=
-R/usr/pkg/lib -L/usr/pkg/lib -liconv host_alias=3Dsparc-sun-solaris2  --no=
-create --no-recursion


checking termcap.h usability... no
checking termcap.h presence... yes
configure: WARNING: termcap.h: present but cannot be compiled
configure: WARNING: termcap.h: check for missing prerequisite headers?
configure: WARNING: termcap.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to ##
configure: WARNING:     ## ------------------------------------ ##
checking for termcap.h... yes


source=3D'terminal.c' object=3D'terminal.o' libtool=3Dno  depfile=3D'.deps/=
terminal.Po' tmpdepfile=3D'.deps/terminal.TPo'  depmode=3Dnone /bin/ksh ../=
depcomp  cc -DHAVE_CONFIG_H -DINFODIR=3D\"/usr/pkg/info\" -DLOCALEDIR=3D"\"=
/usr/pkg/lib/locale\"" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/us=
r/pkg/include  -O -I/usr/pkg/include -c `test -f 'terminal.c' || echo './'`=
"terminal.c", line 35: cannot find include file: <termcap.h>

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (NetBSD)