you should never compile newer versions..
I repeat, doing so you'd break your server.. infact, as you can see, you have squid installed but yum doesn't know anything about it..
remember that newer version of programs could have different config files and so you should watch your config files and then change the template fragments accordingly