I'm guessing your system doesn't have gdbm, or doesn't have the header files required to build against it. On Red Hat, there is a gdbm package and a gdbm-devel one. Debian probably has something similar that you need to install before you can build GDBM_File.