It appears that nobody really ever uses (or even compiles) this module.
Martin
On Wed, Apr 25, 2001 at 05:26:20PM +0200, Clere Jean-Frederic FSC EP LP COM 5 wrote:
> Martin Kraemer wrote:
> >
> > Do you get build errors in Apache-2.0 too?
>
> Now I have enable the TLS module (shared) I have detected some more problems:
> +++
> checking for SSL library... checking whether to enable mod_tls... shared
> configure: error: no - Unable to locate /usr/local/ssl/inc/ssl.h
> +++
> We should search for include not inc!.
>
> I have try to use /usr/local/ssl/include it also fails:
> +++
> /bin/sh /home2/apache20/apache/httpd-2.0/libtool --silent --mode=link gcc -I.
> -I/home2/apache20/apache/httpd-2.0/
> -I/home2/apache20/apache/httpd-2.0/server/mpm/threaded
> -I/home2/apache20/apache/httpd-2.0/modules/http
> -I/home2/apache20/apache/httpd-2.0/include
> -I/home2/apache20/apache/httpd-2.0/srclib/apr/include
> -I/home2/apache20/apache/httpd-2.0/srclib/apr-util/include
> -I/usr/local/ssl/include/openssl -I/home2/apache20/apache/httpd-2.0/os/unix
> -D_REENTRANT -D_REENTRANT -DNO_DBM_REWRITEMAP -pthread -export-dynamic
> -export-dynamic -export-dynamic -export-dynamic -export-dynamic
> -export-dynamic -o httpd modules.lo modules/http/mod_http.la
> modules/mappers/mod_so.la server/mpm/threaded/libthreaded.la server/libmain.la
> os/unix/libos.la srclib/pcre/libpcre.la srclib/apr-util/libaprutil.la
> srclib/apr/libapr.la
> /home2/apache20/apache/httpd-2.0/srclib/apr/shmem/unix/mm/libmm.la -lnsl -lnsl
> -lnsl -lm -lcrypt -lnsl -ldl -L/usr/local/ssl/include -lssl -lcrypto
> /home2/apache20/apache/httpd-2.0/srclib/apr-util/xml/expat/lib/libexpat.la
> /usr/i486-suse-linux/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> make[1]: *** [httpd] Error 1
> make[1]: Leaving directory `/home2/apache20/apache/httpd-2.0'
> make: *** [all-recursive] Error 1
> +++
> Adding -L/usr/local/ssl/include to find a library sounds bad!
Yes, as he didn't even use this path for the header files ?!?!
> > I enabled the TLS module, and
> > it keeps breaking for a couple of days now in my nightly regression test:
> >
> > Making all in tls
> > /bin/sh /home/com5/martin/pgtm0035/apachen/X/httpd-2.0/libtool --silent
>--mode=compile gcc -I.
[...]
> > +-D_THREAD_SAFE -DNO_DBM_REWRITEMAP -c mod_tls.c && touch mod_tls.lo
> > mod_tls.c: In function `tls_out_filter':
> > mod_tls.c:298: too few arguments to function `churn'
> > mod_tls.c:310: too few arguments to function `churn'
> > *** Error code 1
> > Stop in /home/com5/martin/pgtm0035/apachen/X/httpd-2.0/modules/tls.
> > *** Error code 1
>
> Probably easy to fix add &zero where zero is "apr_size_t zero = 0;". Should I
> try?
I would prefer if the main author would keep it up-to-date.
I'd say don't waste too much time with it. I heard that Ralf intends to
offer a ported mod_ssl soon. Let's wait for that.
Still, I wonder if any other httpd-2.0 developer ever really tried to
actually USE mod_tls.
Martin
--
<[EMAIL PROTECTED]> | Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-41143 | 81730 Munich, Germany