Red Hat Bugzilla – Bug 24964
db3/db.h configure and build out of sync
Last modified: 2007-04-18 12:30:55 EDT
While configuring RPM, the configure script output the following:
checking for db3/db.h... no
While compiling lib/db3.c, gcc gave the following error:
db3.c:12: db3/db.h: No such file or directory
The db3.c source file does not even check the HAVE_DB3_DB_H config macro
nor does it even include the "config.h" header.
There are separate test for db3/db.h and lib/db3.c inclusion in rpmlib, so
little reason conditionalize including db3/db.h with Yet Another Define.
I did a configure and a make and the make failed because it tried to include a
header that configure plainly determined that the header was not present. Now
whether the source file was not supposed to be compiled in the first place or
the header file should be conditionally included is a bug.