4-Jan-99 15:33 you wrote:

> Hello,

> I'm trying to isntall mod_ssl on my Debian Linux box, but I couldn't,
> there are too many problems with debian packages:
> I'm using (trying to ;-) mod_ssl-2.1.5_1.3.3.tar.gz, and the
> apache_1.3.3-3, apache-dev, and apache-common debian packages.

You could not use mod_ssl with non-patched Apache. No way.

> What I wanted to do was to compile the mod_ssl as a DSO module.

This is not possible -- you could compile mod_ssl as DSO, but apache should
be recompiled with EAPI patches and all other DSO modules should be recompiled
as well.

> When I run ./configure '--apxs=/usr/sbin/apxs', it complains that
> it cannot find apxs. After looking at the configure script, I managed
> to see that it cannot find a '-DEAPI' define from the output of
> apxs -q CFLAGS. I only got '-DLINUX=2 -DUSE_HSREGEX'.

Of course. Debian's apache could not include crypto-hooks !

> Here are some of the other problems I found:
> - The name of the Apache daemon on debian is apache and not httpd.
> - The directory where the ssleay & ssleay-dev (0.9 version) are
> incompatible with the hard coded directories in the
> pkg.sslmod/libssl.module file (it wants to find the program ssleay in
> '$SSL_BASE/bin/ssleay', but on debian, they are on '/usr/bin/ssl/ssleay',
> which cannot be put in $SSL_BASE ;-( There's the same problem with the
> include files declarations (/usr/include/ssl).
> - After patching the configure script, I managed to get a Makefile, But
> when I run make, I get an error telling me that it cannot find 'ap_hook.h'
> ! When looking in the apache-dev list of files, there isn't any ap_hook.h
> file (only ap_compat.h, ap_config.h, ap_config_auto.h, ap_ctype.h, ap_md5.h
> and
> ap_mmn.h)

ap_hook.h is part of EAPI and as such is not included in standard apache.

> Has anyone managed to compile and use mod_ssl on a debian box ?
> Is only way to get out of this seems to get all the sources of apache and
> recompile everything ?

Yes. You SHOULD patch apache sources to use mod_ssl. This patches COULD NOT
be incorporated in main apache tree since this will make apache non-exportable
from US.

To Ralf: looks like question "How to create mod_ssl DSO for standard apache?"
with answer "You could not do this" is the most frequiently asked question for
last few weeks. Is it in FAQ now ?



______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to