DB_File uses the Berkeley DB library. It looks like you don't have it installed
on your Mandrake box. Or perhaps the include file db.h
isn't in /usr/local/BerkeleyDB/include directory ?
You'll either need to find where your Berkeley DB includes
and libraries are, or install fresh ones
Update: Don't forget to edit config.in, especially
the INCLUDE= and LIB= lines...