Hello mod_ssl'ers!

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"

and the install stalls.  Below are some questions I have & the output of the
mod_ssl configure script when it runs.  Can anyone help me out or point me
in the right direction to some more docs?  Multiple web searches haven't
helped yet & I can't find a mention in the docs. 


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?

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

* 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").


COMPONENTS OF INSTALL:
=========================
RedHat Linux 5.2 (plain vanilla install from CD)
Mod_ssl-2.2.8-1.3.6
Apache_1.3.6
Openssl-0.9.3
rsaref-2.0 (I'm in the United States)
mm-1.0.4 (not a must-have, just trying out)


==== OUTPUT FROM Configure SCRIPT ======================
Configuring mod_ssl/2.2.8 for Apache/1.3.6
 + Apache location: ../apache_1.3.6 (Version 1.3.6)
 + OpenSSL location: ../openssl-0.9.3
 + RSAref location: ../rsaref-2.0/local
 + Auxiliary patch tool: ./etc/patch/patch (local)
 + Applying packages to Apache source tree:
   o Extended API (EAPI)
   o Distribution Documents
   o SSL Module Source
   o SSL Support
   o SSL Configuration Additions
   o SSL Module Documentation
   o Addons

Done: source extension and patches successfully applied.
Configuring for Apache, Version 1.3.6
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Error: Cannot find SSL header files under /u/brian/SSLwork/openssl-0.9.3
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.2.8
      + SSL interface build type: OBJ
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Vendor DBM (libndbm)
      + SSL library path: /u/brian/SSLwork/openssl-0.9.3
./configure:Error: APACI failed

======================================
Any help would be mucho appreciando, thanks in advance!


---===o0O] Brian @ HyperSoft.Net [O0o==---

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to