Bug #3377 RPM needs ncurses to build
Submitted: 2 Apr 2004 20:45 Modified: 5 Apr 2004 5:35
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:MySQL-4.1.1 OS:Linux (Linux)
Assigned to: Lenz Grimmer CPU Architecture:Any

[2 Apr 2004 20:45] [ name withheld ]
Description:
MySQL needs ncurses-devel to compile, however the .spec file does not say this. "rpmbuild --rebuild" thus begins compiling, but fails.

How to repeat:
Try to rebuild MySQL rpm without ncurses-devel installed.

Suggested fix:
Update .spec file.
[5 Apr 2004 5:35] Lenz Grimmer
Thanks for the hint - this can be fixed by adding the following
to the RPM spec file:

BuildPrereq: ncurses-devel

I've now done this in the 4.0 tree - it will be propagated into the other BK
trees from there with the next merge (which happens before every release).