The compile failure indicates that
/usr/include/db52/db.h
isn't being included by rpmdb/dbconfig.c.
The gcc invocation has the necessary -I/usr/include/db52 line.
Examining the devtool output:
1) db52-utils isn't installed (%{_bindir} should have been an absolute path if present)
checking for db52_archive... %{_bindir}/db52_archive
checking for db52_checkpoint... %{_bindir}/db52_checkpoint
checking for db52_deadlock... %{_bindir}/db52_deadlock
checking for db52_dump... %{_bindir}/db52_dump
checking for db52_hotbackup... %{_bindir}/db52_hotbackup
checking for db52_load... %{_bindir}/db52_load
checking for db52_log_verify... %{_bindir}/db52_log_verify
checking for db52_printlog... %{_bindir}/db52_printlog
checking for db52_recover... %{_bindir}/db52_recover
checking for db52_replicate... %{_bindir}/db52_replicate
checking for db52_stat... %{_bindir}/db52sql
checking for db52_stat... %{_bindir}/db52_sql_codegen
checking for db52_stat... %{_bindir}/db52_stat
checking for db52_stat... %{_bindir}/db52_tuner
checking for db52_upgrade... %{_bindir}/db52_upgrade
checking for db52_verify... %{_bindir}/db52_verify
2) And you appear not to have db52-devel installed (or at least configure.ac cannot find)
++ executing success action
++ mapping --with-db=yes to --with-db="external"
++ searching location: external
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb-5.2... no
checking whether to build with Berkeley-DB library... no
So the root cause of the build failure (confirm by examining config.h) is that
you are attempting a build without Berkeley DB.
(aside)
The @rpm5.org project decided that they wished maximal
Have it your own way!
build time configuration. So it is (or at least was) entirely possible to build RPM
without any database support
without any compression
RPM built without a database or compression is utterly useless of course.
The ROSA2012-nightly waterfall here harwich. jbj.org: 8010/builders/ ROSA2012- nightly/ builds/ 26/steps/ compile_ 2/logs/ stdio
http://
is now running ".devtool cooker" successfully.
The compile failure indicates that include/ db52/db. h
/usr/
isn't being included by rpmdb/dbconfig.c.
The gcc invocation has the necessary -I/usr/include/db52 line.
Examining the devtool output:
1) db52-utils isn't installed (%{_bindir} should have been an absolute path if present) /db52_archive /db52_checkpoin t /db52_deadlock /db52_dump /db52_hotbackup /db52_load /db52_log_ verify /db52_printlog /db52_recover /db52_replicate /db52_sql_ codegen /db52_stat /db52_tuner /db52_upgrade /db52_verify
checking for db52_archive... %{_bindir}
checking for db52_checkpoint... %{_bindir}
checking for db52_deadlock... %{_bindir}
checking for db52_dump... %{_bindir}
checking for db52_hotbackup... %{_bindir}
checking for db52_load... %{_bindir}
checking for db52_log_verify... %{_bindir}
checking for db52_printlog... %{_bindir}
checking for db52_recover... %{_bindir}
checking for db52_replicate... %{_bindir}
checking for db52_stat... %{_bindir}/db52sql
checking for db52_stat... %{_bindir}
checking for db52_stat... %{_bindir}
checking for db52_stat... %{_bindir}
checking for db52_upgrade... %{_bindir}
checking for db52_verify... %{_bindir}
2) And you appear not to have db52-devel installed (or at least configure.ac cannot find)
++ executing success action db="external"
++ mapping --with-db=yes to --with-
++ searching location: external
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb-5.2... no
checking whether to build with Berkeley-DB library... no
So the root cause of the build failure (confirm by examining config.h) is that
you are attempting a build without Berkeley DB.
(aside)
The @rpm5.org project decided that they wished maximal
Have it your own way!
build time configuration. So it is (or at least was) entirely possible to build RPM
without any database support
without any compression
RPM built without a database or compression is utterly useless of course.