I just doubled checked installation of core packages from HEAD and 5-7 branch + xotcl friends and everything worked ok for me, I am not able to reproduce the eror you describe here :S. Strange.
Could you please tell me what version of PG are you using?