Subject: pkg/22746: devel/gtexinfo on Linux without ncurses-development RPM (argh!)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michal@pasternak.w.lub.pl>
List: netbsd-bugs
Date: 09/11/2003 15:59:31
>Number:         22746
>Category:       pkg
>Synopsis:       devel/gtexinfo on Linux without ncurses-development RPM (argh!)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 11 16:00:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        RedHat 8.0. Really.
>Organization:
d(-_-)b
>Environment:
Linux prolib 2.4.20-20.8smp #1 SMP Mon Aug 18 14:39:22 EDT 2003 i686 i686 i386 GNU/Linux

cat /etc/redhat-release 
Red Hat Linux release 8.0 (Psyche)
>Description:
gtexinfo needs ncurses to build. It assumes, that it is included in the basesystem (the way things should be) - so it is not checked by pkgsrc. gtexinfo's configure script just popped a single warning, when I tried to build it on RedHat without ncurses-dev RPM package.

gentexinfo should include ncurses as a dependency in case ncurses is not installed in the "main" system (/usr/lib propably)... or it should always include devel/ncurses when it is not run on BSD system.

gentexinfo's makefile should be 
>How-To-Repeat:
Just use the above configuration: on RH install gcc and patch, but no ncurses-dev. gtexinfo's configure will write some warnings about that, then it will allow the package to be build, then the build will fail
>Fix:
1) include ncurses as a dependency for gtexinfo when not being build on BSDs

2) some other workarounds I don't have any idea about
>Release-Note:
>Audit-Trail:
>Unformatted: