Enabling Mod Deflate in Apache

I got an error while compiling Apache today:

“./configure”
“–enable-auth-digest”
“–enable-deflate”
“–enable-rewrite”
“–enable-so”
“–enable-vhost-alias”
“–disable-userdir”
“–enable-mime-magic” \

configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

I fixed this by installing zlib from source.

If you found this post helpful, please consider sharing to your network. I'm also available to help you be successful with your distributed systems! Please reach out if you're interested in working with me, and I'll be happy to schedule a free one-hour consultation.