Image

Imagemrbad wrote in Imagelinux

openssl and apache 2.0.45

I'm not a guru.

Objective: to compile openssl with apache 2.0.45

Note: my procedures worked ok with the last 3-4 releases of Apache.

O/S: RedHat 9.0

Here's my Openssl procedure:

./config --with-krb5-dir=/usr/kerberos/lib/
--prefix=/home/bm/src/openssl-0.9.7b/install
--openssldir=/home/bm/src/openssl-0.9.7b/install/openssl
make
make install

==> the above worked fine...

Note: I also tried it without the "" --with-krb5-dir=/usr/kerberos/lib/""
and that also compiles fine.
==================================================

Apache procedure:

./configure --prefix=/opt/apache --enable-ssl=static
--with-ssl=/home/bm/src/openssl-0.9.7b/install/openssl
--enable-proxy=shared --enable-dav=shared --enable-dav_fs=shared

then the MAKE:

/bin/sh /home/bm/src/apache2.0.45/httpd-2.0.45/srclib/apr/libtool
--silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER
-I/home/bm/src/apache2.0.45/httpd-2.0.45/srclib/apr/include
-I/home/bm/src/apache2.0.45/httpd-2.0.45/srclib/apr-util/include -I.
-I/home/bm/src/apache2.0.45/httpd-2.0.45/os/unix
-I/home/bm/src/apache2.0.45/httpd-2.0.45/server/mpm/prefork
-I/home/bm/src/apache2.0.45/httpd-2.0.45/modules/http
-I/home/bm/src/apache2.0.45/httpd-2.0.45/modules/filters
-I/home/bm/src/apache2.0.45/httpd-2.0.45/modules/proxy
-I/home/bm/src/apache2.0.45/httpd-2.0.45/include -I/usr/include/openssl
-I/home/bm/src/apache2.0.45/httpd-2.0.45/modules/dav/main
-prefer-non-pic -static -c mod_ssl.c && touch mod_ssl.lo
In file included from /usr/include/openssl/ssl.h:179,
from mod_ssl.h:111,
from mod_ssl.c:60:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from mod_ssl.h:111,
from mod_ssl.c:60:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"



I'm not too sure what to do at this stage ?
Are my compile params suddenly faulty.
Did something change in apache2.0.45 ?

Oh yeah: a find

find / -name krb5.h -print

/home/bm/src/openldap2-0-27/openldap-2.0.27/include/ac/krb5.h
/usr/kerberos/include/krb5.h

Do I have to specify {somehow} where this file is ?


Any help would be appreciated.
Thks.