While installing Apache 1 / PHP5 on a brand new CentOS 5 11.8.0-C16295 server, I had problems installing mod_gzip. Not sure when this problem started, because I've installed it on other servers with no problems. Anyway, if you're getting the following error during easyapache:
Apache will compile just fine, but the mod_gzip object won't compile. To compile it manually:
The mod_gzip object will be installed and all you'll need to do is uncomment the LoadModule/AddModule lines in your httpd.conf. Hope this helps somebody!
cc1: error: unrecognized command line option "-Wall,-O3,-fomit-frame-pointer,-pipe"
cd /home/cpapachebuild/buildapache/mod_gzip-22.214.171.124a /usr/local/apache/bin/apxs -Wc,"-Wall -O3 -fomit-frame-pointer -pipe" -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so /usr/local/apache/bin/apxs -A -i mod_gzip.so