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/ins tall
--openssldir=/home/bm/src/openssl-0.9.7b/i nstall/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/i nstall/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/s rclib/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/s rclib/apr/include
-I/home/bm/src/apache2.0.45/httpd-2.0.45/s rclib/apr-util/include -I.
-I/home/bm/src/apache2.0.45/httpd-2.0.45/o s/unix
-I/home/bm/src/apache2.0.45/httpd-2.0.45/s erver/mpm/prefork
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m odules/http
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m odules/filters
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m odules/proxy
-I/home/bm/src/apache2.0.45/httpd-2.0.45/i nclude -I/usr/include/openssl
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m odules/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.2 7/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.
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/ins
--openssldir=/home/bm/src/openssl-0.9.7b/i
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/i
--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/s
--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/s
-I/home/bm/src/apache2.0.45/httpd-2.0.45/s
-I/home/bm/src/apache2.0.45/httpd-2.0.45/o
-I/home/bm/src/apache2.0.45/httpd-2.0.45/s
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m
-I/home/bm/src/apache2.0.45/httpd-2.0.45/i
-I/home/bm/src/apache2.0.45/httpd-2.0.45/m
-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.2
/usr/kerberos/include/krb5.h
Do I have to specify {somehow} where this file is ?
Any help would be appreciated.
Thks.
