one has to be more precise here. The released versions (tar balls) including oacs 5.2.3 do not work unchanged with aolserver 4-5. The newest versions from cvs work (e.g. the newest version from the oacs-5-2 branch, or cvs head).
Unless you are a developer needing the newest features from aolserver 4.5, i would recommend to stick with aolserver 4.0.10.