I’m not a programmer, but it seems to me, that if it compiled before then it should again on your newer version. Perhaps you are missing some libraries, which would be evident when you run ./configure.
I got all kinds of errors just on my CentOS machine, and you have to resolve each of them. Gd missing, perhaps apache, mysql libs, … it could be almost anything.
Just try to resolve the particular errors. It would be quicker than searching for someone who has the exact same setup as you.