NetBSD Problem Report #51982

From  Sat Feb 18 07:50:39 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 1EA117A1FD
	for <>; Sat, 18 Feb 2017 07:50:39 +0000 (UTC)
Message-Id: <>
Date: Sat, 18 Feb 2017 07:50:37 +0000 (UTC)
Subject: tclreadline - Can't find readline.h
X-Send-Pr-Version: www-1.0

>Number:         51982
>Category:       pkg
>Synopsis:       tclreadline - Can't find readline.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pettai
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 18 07:55:00 +0000 2017
>Last-Modified:  Tue Feb 28 08:59:41 +0000 2017
>Originator:     Poor Yorick
>Release:        2016Q4
Linux xxx 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
building tclreadline when the only available readline is the one installed in
the pkgsrc collection:

    checking where to look for readline.h... configure: error:
      Can't find readline.h.
      Use --with-readline-includes to specify the directory
      containing readline.h on your system.

The solution is to add the following to the Makefile:

    CONFIGURE_ARGS+=  --with-readline-includes=${PREFIX}/include/readline
    CONFIGURE_ARGS+=  --with-readline-library=${PREFIX}/lib/readline





Responsible-Changed-From-To: pkg-manager->pettai
Responsible-Changed-When: Tue, 28 Feb 2017 08:59:41 +0000
Fredrik, can you please give it a look? (over to MAINTAINER)

(side-note: I think that the patches as-is will need an
adjustment in order to correctly work with builtin


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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.