Red Hat Bugzilla – Bug 83553
postgresql should buildreq bison and flex.
Last modified: 2007-04-18 12:50:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021217
Description of problem:
If you do not have bison and flex installed in your system, building process of
postgresql source rpm will fail.
Version-Release number of selected component (if applicable):
7.3.1-7 and for sure other.
Steps to Reproduce:
1. rpm -e bison and flex and their dependencies
2. rpmbuild --rebuild --target your_arch postgresql-7.3.1-7.src.rpm
3. wait until an error will occur, claiming that bison or flex cannot be found.
Thanks for pointing this out. I've fixed it in the most recent PostgreSQL
package set - postgresql-7.3.2-1. When I remove bison from my system and try:
rpmbuild --rebuild postgresql-7.3.2-1.src.rpm
error: Failed build dependencies:
bison is needed by postgresql-7.3.2-1
as expected. Resolving.