./configure for Apache 2 fails on zlib location

I have an RH9 box from Fastservers.net, without CPanel. I just installed Apache 2 on my box and it seems to work just fine. I would now like to add mod_deflate, but it's just not working for me.

I ran ./configure with the following command line:

./configure --enable-modules=all --enable-mods-shared=all --enable-deflate

I tried several other variations, and none of them succeeded.

After running ./configure, I get the following error messages:

checking whether to enable mod_deflate... checking dependencies
checking for zlib location... not found
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
[root@boxname httpd-2.0.48]#

Any help would be greatly appreciated!

 

 

 

 

Top