checking default DID scheme... cdb
checking whether default CNID scheme has been activated... yes
checking for Berkeley DB headers in /usr/local/BerkeleyDB.4.1/include/db4... no
checking for Berkeley DB headers in /usr/local/BerkeleyDB.4.1/include... yes
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking Berkeley DB version >= 4.0... no

Make sure you have the Berkeley DB libraries AND headers installed.
You can download the latest version from http://www.sleepcat.com.
If you have installed BDB in a non standard location use the
--with-bdb=/path/to/bdb configure option.
configure: error: Berkeley DB library required but not found!

バークレーは 4.1.25 と4.2.52 両方とも入れたけどだめでした。

export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.1/libもしてみました。
Redhat 9 ですなぜでしょう?
自宅のYellowDog3.0.1はすんなり入ったのになぁ