$ ./configure --with-included-apr --enable-cache --enable-mem-cache --enable-ssl --enable-rewrite
--enable-so --enable-deflate
I got this error:
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to
prerequisite failures
After doing some investigation, I found that zlib1g-dev was not installed. So I installed this using this command:
$ sudo apt-get install zlib1g-dev
Then I tried to install apache again. When I ran configure again, I got this error:
no OpenSSL headers found
checking for SSL-C version... checking sslc.h usability... no
checking sslc.h presence... no
checking for sslc.h... no
no SSL-C headers found
configure: error: ...No recognized SSL/TLS toolkit detected
That means either openssl or libssl-dev was not installed. I was sure that openssl was installed. So I installed libssl-dev using this command:
$ sudo apt-get install libssl-dev
Then I tried to install httpd again and it was successfully installed. :)
No comments:
Post a Comment