NetBSD Problem Report #51982

From www@NetBSD.org  Sat Feb 18 07:50:39 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1EA117A1FD
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 18 Feb 2017 07:50:39 +0000 (UTC)
Message-Id: <20170218075037.AEA147A295@mollari.NetBSD.org>
Date: Sat, 18 Feb 2017 07:50:37 +0000 (UTC)
From: org.netbsd@pooryorick.com
Reply-To: org.netbsd@pooryorick.com
To: gnats-bugs@NetBSD.org
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
>Organization:
>Environment:
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
>Description:
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




>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->pettai
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Tue, 28 Feb 2017 08:59:41 +0000
Responsible-Changed-Why:
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
readline/editline)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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