are all the prerequisites installed ?
to quote the build instructions
It builds and runs on my OpenSUSE12.2 64 bit KDE4 install
1.2: From source
If you want to compile gnome-hearts from source, you will need to have the following packages installed on your system:
libgnomeui (plus headers)
libglade2 (plus headers)
python2.3 or better (plus headers)
Download the tar.gz package for the latest release from the download page and extract it somewhere convenient.
--- and so on ------
the current gnome3 libs do work - you do NOT need the whole gnome2 and 3 desktop .
please post the ./configure error
( you might want to use this command to avoid having it want to install in "/usr/local/bin" and "/usr/local/lib" )
then read the error
inform you as to what is missing
if it informs you to run "make"
then there is no configure error
also the error IS in the "config.log"
that log is automatically created