NetBSD Problem Report #28354

From  Thu Nov 18 23:53:30 2004
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id DB77F2525CF
	for <>; Thu, 18 Nov 2004 23:53:29 +0000 (UTC)
Message-Id: <>
Date: Thu, 18 Nov 2004 17:53:23 -0600 (CST)
From: seebs <>
Subject: Installing ncurses breaks curses
X-Send-Pr-Version: 3.95

>Number:         28354
>Category:       lib
>Synopsis:       Installing ncurses breaks curses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 18 23:54:00 +0000 2004
>Closed-Date:    Thu Nov 10 07:25:48 +0000 2016
>Last-Modified:  Thu Nov 10 07:25:48 +0000 2016
>Originator:     seebs
>Release:        NetBSD 2.99.10
System: NetBSD 2.99.10 NetBSD 2.99.10 (VASH) #0: Sat Nov 6 13:02:50 CST 2004 i386
Architecture: i386
Machine: i386
	If you've installed ncurses, and are compiling with
	-I/usr/pkg/include, <curses.h> tries to find <unctrl.h> and ends
	up getting /usr/pkg/include/unctrl.h, which then unleashes horrors.
	Install ncurses from pkgsrc.  Try to use plain old curses.
	Well, a crappy workaround is
		#include "/usr/include/unctrl.h"

	A real fix is actually theoretically challenging; what we want to
	imply is that system headers should, in general, only ever see other
	system headers when including, I think... But I'm not sure how to
	do that!



State-Changed-From-To: open->closed
State-Changed-When: Thu, 10 Nov 2016 07:25:48 +0000
This was actually a pkgsrc issue then, which should have been by the commit to put ncurses headers in
/usr/pkg/include/ncurses, so they're not accidentially included by packages that aren't using pkgsrc
revision 1.34
date: 2009-07-12 20:23:13 +0300;  author: ahoka;  state: Exp;  lines: +24 -11;
Install ncurses headers to include/ncurses. This fixes a bug, when having
/usr/pkg/include in the header search path shadows some of the system's
curses headers (happens when building or developing curses application
outside of the pkgsrc build system).


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.