NetBSD Problem Report #1138

From gnats  Tue Jun 20 00:15:18 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id AAA19712 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 20 Jun 1995 00:15:14 -0400
Message-Id: <199506152209.PAA11427@toccata.fugue.com>
Date: Thu, 15 Jun 1995 15:09:14 -0700
From: Ted Lemon <mellon@fugue.com>
Reply-To: mellon@fugue.com
To: gnats-bugs@NetBSD.ORG
Subject: curses.h is not installed by make install in src/include.
X-Send-Pr-Version: 3.2

>Number:         1138
>Category:       lib
>Synopsis:       curses.h is not installed by make install in src/include.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 20 00:20:12 +0000 1995
>Closed-Date:    Wed Apr 24 21:23:51 +0000 1996
>Last-Modified:  Thu Apr 25 01:24:41 +0000 1996
>Originator:     Ted Lemon
>Release:        June 15, 1995
>Organization:
>Environment:
System: NetBSD toccata 1.0A NetBSD 1.0A (TOCCATA) #158: Wed Jun 14 12:49:57 PDT 1995 mellon@toccata:/sandbox/NetBSD-current/sys/arch/pmax/compile/TOCCATA pmax


>Description:
	If one does a ``make build'' at the top level, one of the first steps
	it does is to do a make install in the include subdirectory, which is
	supposed to build a complete /usr/include.   Unfortunately, at least
	in the case of curses.h, it is not installed until the libraries have
	been built, which means that it's not available (but is needed) while
	building them.
>How-To-Repeat:
	cd $TOP_LEVEL
	rm /usr/include/curses.h
	make build
>Fix:
	I'd suggest moving curses.h to the include subdirectory, or hacking
	the include subdirectory's makefile to install it.   I don't know that
	this is the only case of this sort of problem - I only discovered it
	because the prototype for tputs() has changed since the last time I
	did a complete build.
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->analyzed
State-Changed-By: jtc
State-Changed-When: Tue Jun 20 18:42:11 1995
State-Changed-Why:
There are other header files with the same problem:
	rpcsvc headers
	libg++ headers
	flex's FlexLexer.h header
	???

The fix to this PR should address all such headers.  Since libg++
headers are gpl'd, we can't move them to /usr/include.  Possible
alternatives are:

	1) hacking src/include's makefile to install all headers, no 
	   matter where they might be located in the source tree.

	2) providing a install-headers makefile target that would
	   recurse through the tree installing headers.  The 
	   build process would then be: make obj; make
	   install-headers; make depend; make; make install.

State-Changed-From-To: analyzed->closed
State-Changed-By: jtc
State-Changed-When: Wed Apr 24 21:23:51 1996
State-Changed-Why:
curses.h is now installed by "make includes", which should be run early in
the build process.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.