What error message did it give you? I've just managed to break my install myself. With the same compress error that Bob had.
I'm trying the static build, but it won't even compile as it complains that it can't find "compress" in the libmysqlclient library.
That's OK because mysql has it configured as an UNDEF (external declaration) which resides in the zlib library.
The trick is to somewhow tell Apache to find zlib I guess.