checking for Qt... configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Anyway to fix this problem, I looked at /usr/lib/qt-3.3/lib and having read in a few news groups that bad links were sometimes the problem, I went through use ls -l and looked at all the links. The problem seemed to be in libqt-mt.so.3.3.6, the permissions wouldn't allow me to read it as my user. Maybe I should have been running as root, who knows, anyway, I cheated and chmod 777 libqt-mt.so.3.3.6 and got the stupid thing to configure past that point.