On Fri, Jun 04, 1999, Brian Dale wrote:

> I'm trying to compile Apache 1.3.6 with OpenSSL 0.9.3 for mod_ssl 2.2.8
> support on a RedHat Linux 5.2 out-of-box install.  It looks like the
> out-of-box Apache was a binary-only install (I can find no source from
> prevous install on the box) to RedHat paths (which appear to be quite
> different from the usual Apache paths).  I am not as familiar with this
> RedHat Linux & Apache configuration setup as I am SCO Unix & Netscape
> FastTrack.  I am following the INSTALL (mod_ssl for Unix) instructions from
> the website to the letter. However, I've ran into a little problem.
> 
> All works fine until I get to #5 in the INSTALL instructions, where it says:
> 
> "Now apply the mod_ssl source extension and source patches to the Apache
> source tree.  Configure the apache sources and build Apache with mod_ssl and
> OpenSSL"
> 
> So I cd to the mod_ssl directory & run 
> "./configure \
> --with-apache=../apache_1.3.6 \
> --with-ssl=../openssl-0.9.3  \
> --with-rsaref=../rsaref-2.0/local  \
> --prefix=/usr/sbin/apache"  (I'm guessing here on the "prefix" setting.)
> 
> I then get the error 
> 
> "Error: Cannot find SSL header files under /u/brian/SSLwork/openssl-0.9.3
> ./configure:Error: APACI failed"
> [...]
> QUESTIONS:
> ==========
> * Why can't configure script find OpenSSL header files?  
>   Permissions are 777 all the way down & .h files appear to be in correct
>   place.     Where SHOULD the OpenSSL header files be?  Is this an OpenSSL
>   problem?

You cannot use old mod_ssl versions with newer OpenSSL versions.  Either use
OpenSSL 0.9.2b for mod_ssl 2.2.x or when you want to use OpenSSL 0.9.3a then
you've to use mod_ssl 2.3.x.

> * What should setting of "--prefix=" be?  
>   What does it mean, prefix of path to present "httpd" Apache executable or
> what?

No, --prefix for mod_ssl and Apache is like --prefix for other configure
scripts: It's the base directory of the installation tree. Please read
Apache's INSTALL document for more details.

> * RedHat 5.2 Apache paths seem weird compared to default Apache paths.  
>   Could they be a problem?  Here they are...
> - Currently my Apache "httpd" binary is at "/usr/sbin/httpd", not "" as in
> man pages for httpd.
> - Currently my Apache configuration files are at "/etc/httpd/conf/*.conf",
> instead of the default (according to httpd man pages) of
> "/usr/local/apache/conf/*.conf"
> - Currently my Apache modules (like "libperl.so" & "mod_auth.so") are at
> "/usr/lib/apache" (also linked from "/etc/httpd/modules").

All paths you can choose yourself. Either use the default paths or adjust them
to meet your RH layout. Read Apache's INSTALL document for details on how you
can change the path layout.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to