Ubuntu 6.06 LTS as well as Debian stable (current version) compile AOLserver and PostgreSQL without a glitch, even using Nima's new installer (which is very nice by the way). Maybe I'm just lucky with my scripts, but they seem to work reliably on that platform.
As for Slackware or Solaris, this is beyond my grasp.