Subject: Re: gtexinfo vs. ncurses on Solaris
To: Charlie Allom <charlie@rubberduck.com>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 01/19/2004 10:04:27
--q9KOos5vDmpwPx9o
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.
>=20
> 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

=2E..

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 bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for termcap.h... yes

=2E..

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
"terminal.c", line 35: cannot find include file: <termcap.h>


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFACxD6luYOb9yiFXoRAgPTAKCphNsMkcsQt0I5o9IpR4Hx+OBjMwCgs85E
QiJ9AXmtkFYaF97ZN9Kk0cE=
=9JBs
-----END PGP SIGNATURE-----

--q9KOos5vDmpwPx9o--