You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Fleishman.Mark" <Ma...@IGT.com> on 2012/07/26 01:56:48 UTC

[users@httpd] Error compiling httpd 2.2.11 with openssl 0.9.8 on rhel 6

Hello,

First question, is httpd 2.2.11 compatible with RHEL6 x86_64 and openssl 0.9.8?

I am trying to compile httpd 2.2.11 on rhel 6 using openssl 0.9.8 but I am receiving an error during the make:

ssl_engine_init.c: In function 'ssl_init_ctx_verify':
ssl_engine_init.c:549: error: 'STACK' undeclared (first use in this function)
ssl_engine_init.c:549: error: (Each undeclared identifier is reported only once
ssl_engine_init.c:549: error: for each function it appears in.)
ssl_engine_init.c:549: error: expected expression before ')' token
ssl_engine_init.c: In function 'ssl_init_FindCAList':
ssl_engine_init.c:1129: warning: pointer type mismatch in conditional expression
make[4]: *** [ssl_engine_init.slo] Error 1
make[4]: Leaving directory `/tmp/httpd-2.2.11/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/tmp/httpd-2.2.11/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/tmp/httpd-2.2.11/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/tmp/httpd-2.2.11'
make: *** [all-recursive] Error 1


I have seen posts about this but with reference to the incompatibility with openssl 1.0.0 so I am trying 0.9.8.

I compiled openssl 0.9.8x using these options, and it compiled and installed ok:
./config --prefix=/apps/openssl/0.9.8x --openssldir=/apps/openssl/0.9.8x/openssl shared

Here are the compile options I am using with httpd 2.2.11:

"./configure" \
"--prefix=/apps/apache/2.2.11_64" \
"--enable-so" \
"--enable-ssl" \
"-with-ldap" \
"--enable-mods-shared=all" \
"--with-ssl=/apps/openssl/1.0.0x/" \
"--with-mpm=worker" \
"$@"

Any assistance would be appreciated.

Thanks



RE: [users@httpd] Error compiling httpd 2.2.11 with openssl 0.9.8 on rhel 6

Posted by "Fleishman.Mark" <Ma...@IGT.com>.
Thanks Pete.  I am using this:  "--with-ssl=/apps/openssl/1.0.0x" with my apache compile parameters.

Mark Fleishman
Systems and Apps Admin IV 
(415) 229-8312


-----Original Message-----
From: Pete Houston [mailto:ph1@openstrike.co.uk] 
Sent: Thursday, July 26, 2012 2:14 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Error compiling httpd 2.2.11 with openssl 0.9.8 on rhel 6

On Wed, Jul 25, 2012 at 04:56:48PM -0700, Fleishman.Mark wrote:
> I compiled openssl 0.9.8x using these options, and it compiled and installed ok:
> ./config --prefix=/apps/openssl/0.9.8x 
> --openssldir=/apps/openssl/0.9.8x/openssl shared
> 
> Here are the compile options I am using with httpd 2.2.11:
> 
> "./configure" \
> "--prefix=/apps/apache/2.2.11_64" \
> "--enable-so" \
> "--enable-ssl" \
> "-with-ldap" \
> "--enable-mods-shared=all" \
> "--with-ssl=/apps/openssl/1.0.0x/" \
> "--with-mpm=worker" \
> "$@"
> 
> Any assistance would be appreciated.

Well, it does appear at first glance that you are not configuring apache to use the openssl version you have just compiled. If you change the argument to --with-ssl to be the correct path, that may be all you need.

HTH,

Pete
--
Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Error compiling httpd 2.2.11 with openssl 0.9.8 on rhel 6

Posted by Pete Houston <ph...@openstrike.co.uk>.
On Wed, Jul 25, 2012 at 04:56:48PM -0700, Fleishman.Mark wrote:
> I compiled openssl 0.9.8x using these options, and it compiled and installed ok:
> ./config --prefix=/apps/openssl/0.9.8x --openssldir=/apps/openssl/0.9.8x/openssl shared
> 
> Here are the compile options I am using with httpd 2.2.11:
> 
> "./configure" \
> "--prefix=/apps/apache/2.2.11_64" \
> "--enable-so" \
> "--enable-ssl" \
> "-with-ldap" \
> "--enable-mods-shared=all" \
> "--with-ssl=/apps/openssl/1.0.0x/" \
> "--with-mpm=worker" \
> "$@"
> 
> Any assistance would be appreciated.

Well, it does appear at first glance that you are not configuring apache
to use the openssl version you have just compiled. If you change the
argument to --with-ssl to be the correct path, that may be all you need.

HTH,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107