Thanks Stephen :) That is the approach I have been trying - using those two include options to specify paths - but I'm either not getting the paths right, or, as you say, something deeper is going on.
IIRC, the only way I managed to get the SQL integration to work in the past was by having mysql-devel installed, and then specifying a path that appeared as a result of that install, but now, whatever path I try, it doesn't seem to work.
It was a long time ago, and unfortunately I've never really got my head around the file locations on CentOS/FreeBSD (or anything else for that matter!), so it was very much a trial-and-error approach based on previous postings in this list, and a few Google results.
I'm going to have another crack at it as soon as I have time (I hope this afternoon), and hopefully then I will have some more information which may help with diagnosis.
Thanks again,
/<