Thread: BUG #1821: Source RPM: Missing dependency ncurses-devel

BUG #1821: Source RPM: Missing dependency ncurses-devel

From
"Bernard"
Date:
The following bug has been logged online:

Bug reference:      1821
Logged by:          Bernard
Email address:      bht@actrix.gen.nz
PostgreSQL version: 8.0.3-1
Operating system:   RedHat Linux 9
Description:        Source RPM: Missing dependency ncurses-devel
Details:

How to reproduce:
- Install RedHat 9 without any development packages
- Install rpmbuild
- Install
postgresql/binary/v8.0.3/linux/srpms/redhat/redhat-9/postgresql-8.0.3-1PGDG.
src.rpm
- Install all packages that it requires in the order listed n th elist of
failed dependencies

- Build it

Expected behavior:

rpmbuild should succeed because all dependencies are satisfied.

Actual behavior:

rpmbuild fails as follows:

configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper
directory.
Use --without-readline to disable readline support.
error: Bad exit status from /home/builduser/rpm/tmp/rpm-tmp.42293 (%build)

My workaround:

I installed ncurses-devel-5.3-4.i386.rpm from the Redhat CD. Fixed the error
but another error followed that is subject of another bug report.