On Mon, Jan 04, 1999, [EMAIL PROTECTED] wrote:
> 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.
This cannot work. You cannot intermix Debian packages of Apache (which have no
EAPI compiled in as I guess) and mod_ssl.
> What I wanted to do was to compile the mod_ssl as a DSO module.
> 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'.
Ops, the error message is incorrect, of course. Seems like I've cut & pasted
too much inside the configure script. Fixed for 2.1.6. The new and correct
error now is:
``Error: Installed Apache doesn't contain Extended API (EAPI)''
> Here are some of the other problems I found:
> - The name of the Apache daemon on debian is apache and not httpd.
This cannot be fixed until our Apache 1.3.4 is released. Because 1.3.3's apxs
program has no knowledge about the renamed program name. In 1.3.4's apxs there
mod_ssl can use "-q TARGET" to get the name.
> - 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).
Then you have to use SSL_BASE=SYSTEM as it's documented in the INSTALL file.
> - 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)
That's because your Debian-package-based Apache doesn't contain the EAPI
stuff. ap_hook.h is part of EAPI.
> Has anyone managed to compile and use mod_ssl on a debian box ?
Sure, I compiled it successfully on one of my boxes which runs Debian 1.3.1.
But you have to start with a fresh Apache source tree at least once to get an
Apache with DSO+EAPI support.
> Is only way to get out of this seems to get all the sources of apache and
> recompile everything ?
Yes, sorry. But because of the crypto-hook-problematic you have to at least
once install a patches Apache. Then you can upgrade easily with APXS.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]