Hi I am installing httpd-2.0.63 with the open ssl. ssl version is OpenSSL 1.0.0a
Commands are :
./configure --prefix=/usr/LBalancer2/apache --enable-so --enable-ssl --with-ssl=/usr/LBalancer2/ssl
make
But this step gives the following ERROR :
ssl_engine_init.c: In function 'ssl_init_ctx_protocol':
ssl_engine_init.c:391: warning: assignment discards qualifiers from pointer target type
ssl_engine_init.c:397: warning: assignment discards qualifiers from pointer target type
ssl_engine_init.c: In function 'ssl_init_ctx_verify':
ssl_engine_init.c:534: error: 'STACK' undeclared (first use in this function)
ssl_engine_init.c:534: error: (Each undeclared identifier is reported only once
ssl_engine_init.c:534: error: for each function it appears in.)
ssl_engine_init.c:534: error: expected expression before ')' token
ssl_engine_init.c: In function 'ssl_init_FindCAList':
ssl_engine_init.c:1109: warning: pointer type mismatch in conditional expression
make[3]: *** [ssl_engine_init.lo] Error 1
make[3]: Leaving directory `/home/arosys/Softwares/httpd-2.0.63/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/arosys/Softwares/httpd-2.0.63/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arosys/Softwares/httpd-2.0.63/modules'
make: *** [all-recursive] Error 1
I have no idea what to do.
Any one can help.
Thanks
Apache 2.0/2.2 is not compatible with OpenSSL 1.0.0, see bug reports:
You should use OpenSSL 0.9.8.
When it's compiled you will have a module called: mod_ssl.so
You can use ldd to check which library of ssl is used:
Apache.org has excellent documentation on how to configure your webserver: http://httpd.apache.org/docs/2.1/ssl/ssl_howto.html
My best guess is missing headers for openssl are you sure they exit in /usr/LBalancer2/ssl check your output of the configure command to make sure that the openssl headers are picked up.