On Thu, Nov 19, 1998, [EMAIL PROTECTED] wrote:

>[...]
> If I follow your intructions from INSTALL:
> 
>         $ cd mod_ssl-2.1.x-1.3.x                                           ALL
>         $ ./configure                                                      ALL
>               --with-apache=../apache_1.3.x                                ALL
>               --with-ssleay=../SSLeay-0.9.x                                ALL
>               --prefix=/usr/local/apache                                   ALL
>               --enable-shared=ssl                                     OPTIONAL
>         $ cd ../apache_1.3.x                                               ALL
>         $ make                                                             ALL
> 
> Error: make blabla no target for all.
> 
> So I have to >first< type
> 
>         $ ./configure
> and then
>         $ make

Sorry, I don't understand exactly what your problem is. The above INSTALL-text
says (very detailed) you should run "./configure" and then "cd" and then
"make".  Why are you such astonished that you get a "make" error and _first_
have to run "./configure" Did you misinterpret this INSTALL-text? What's wrong
with it?

>[...]
> If I do:
>         $ make certificate
> I get:
> 
> make[1]: Entering directory `/root/apache_1.3.3/src'
> mkcert.sh:Error: mod_ssl/SSLeay has to be configured before using this utility.
> mkcert.sh:Hint:  Configure mod_ssl with --enable-module=ssl in APACI, first.

The --enable-module=ssl is implicitly done when you use mod_ssl's "configure"
script. And when you use the exact INSTALL steps from above this doesn't
occur, of course. Seems more like you confused yourself trying such a lot of
things. When you enter 

$ ./configure --with-apache=../apache_1.3.x --with-ssleay=../SSLeay-0.9.x \
              --prefix=/usr/local/apache --enable-shared=ssl

inside the mod_ssl tree the command

$ SSL_BASE=/path/to/your/SSLeay-0.9.x \
  ./configure --prefix=/usr/local/apache --enable-module=ssl --enable-shared=ssl

is run inside the apache_1.3.x directory.

>[..]
> So I'm back at stage zero -> recompile everything (Cheers):
> 
>   $ ./configure --with-apache=../apache_1.3.3
>             --with-ssleay=../ssleay-0.9.0b.orig/
>             --prefix=/usr/local/apache
>             --enable-module=ssl

The --enable-module=ssl is is not really needed when using the mod_ssl
configure script. The "Hint" above was from inside Apache source tree. So it
addresses Apache's configure script.

> (before it was enable-shared, now it's enable-module):
>         $ cd mod_ssl-2.1.x-1.3.x                                           ALL
>   $ cd ../apache_1.3.3
>   $ ./configure --prefix=/usr/local/apache --enable-module=ssl
>   $ make
>   $ make certificate
> make[1]: Entering directory `/root/apache_1.3.3/src'
> SSL Certificate Generation Utility (mkcert.sh)
> Copyright (c) 1998 Ralf S. Engelschall, All Rights Reserved.
>  + finding random files on your platform
>  + building ca-fix auxiliary tool
> gcc  -I../os/unix -I../include   -DLINUX=2 -DMOD_SSL=201100 -DUSE_HSREGEX -DEAPI
> `../apaci` -DSSL_COMPAT -I/usr/local/ssl/include \
>       -L/usr/local/ssl/lib  -L../os/unix -L../ap  \
>       -o ca-fix ca-fix.c \
>       -los -lap  -lm -lcrypt -lndbm -lssl -lcrypto 
> ca-fix.c: In function `main':
> ca-fix.c:557: warning: assignment makes pointer from integer without a cast
> /tmp/ccc15457: In function `main':
> /tmp/ccc15457(.text+0x16c0): undefined reference to `EVP_get_digestbyobj'

Ok, now we have the first real problem. The EVP_get_digestbyobj() is a macro
in SSLeay (in evp.h). Are you really sure this SSLeay under your
/usr/local/ssl/ is 0.9.0? I ask because before you used
--with-ssleay=../SSLeay-0.9.0b.orig. Now you left this out, so /usr/local/ssl
is found. But this seems to be broken.

I strongly advise you (even when you think now I'm saying ridicules stuff) to
_EXACTLY_ follow the INSTALL steps.  They're correct and work the way they
were written down.  But when you leave out something or change something it
has to leave to problems. So please pause for breath a few minutes, then start
from scratch and follow exactly the INSTALL steps. Don't use mod_frontpage.
First do just a plain Apache+mod_ssl installation. When this works go back and
use this new experience to now add mod_frontpage.  Don't do too much at the
same time. That's the root of all evil.

                                       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]

Reply via email to