Run "httpd -V" and see if "-DEAPI" shows up.  If it does, well, you need
someone else to provide assistance.  Most likely, "-DEAPI" will not be
present in the list of compile-time definitions.

In which case, you'll need to download and recompile Apache.  If you are
set on using RPMs, I would recommend installing the SRPM that matches
the RPM you have installed right now; go into
/usr/local/src/redhat/SPECS and edit the spec file for apache to include
"--enable-rule=EAPI" on the configure command-line, then rebuild with
"rpm -bb apache.spec" (or whatever it's called).

After it rebuilds, go into /usr/local/src/redhat/RPMS/i386/ and run "rpm
-Uvh apache-1.3.6.i386.rpm" (or whatever it's called).  *THEN* try
reinstalling mod_ssl.

Personally, I would recommend ripping out the RedHat apache installation
and recompiling it from the tarball.  That's what I did, and everything
is so much happier now.  OTOH, it's not under RPM control which means
upgrading to RH6.1 will involve some extra issues.

-Adam Thompson
 <[EMAIL PROTECTED]>


Wesley Griffin wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> First, I apologize if this is a FAQ, I did a search on the archive
> but didn't find anything useful.
> Here's my setup:
>   RedHat 6.0 with all updates
>   apache-1.3.6-7 rpm
> 
> I've downloaded and compiled openssl-0.9.3a
> I've also downloaded modssl-2.3.10-1.3.6
> 
> Here's my question. I'm trying to get modssl installed as a DSO with
> the line
>   ./configure --with-apxs=/usr/sbin/apxs --with-ssl=/usr/local/ssl
> 
> configured is giving me the following error: Installed Apache doesn't
> contain Extended API (EAPI).
> I thought I would look at apxs and other things and see if possibly
> there was something I could do without recompiling apache. Looking at
> the manpage to apxs I did the following:
> 
> apxs -g -n foo
> cd foo
> make all reload
> 
> This works (essentially) and installs mod_foo.so as a DSO. I modified
> the httpd.conf file to add a Location for it and everything worked.
> This leads me to believe that Apache has EAPI support compiled in.
> Running httpd -l shows only two modules:
>   http_core.c and
>   mod_so.c
> 
> Does RedHat do something to their Apache build to compile with EAPI
> support and yet not with any -DEAPI defines? I've noticed them in the
> mod_ssl source and assume that's what its testing for. I have no
> problems recompiling Apache and mod_ssl but I would like to think
> that this should work. Am I completely in the wrong? Thanks.
> 
> Wesley Griffin                                 [EMAIL PROTECTED]
> NAI Labs                                            +1 443.259.2388
> PGP 0x90A1345C : 9AD4 20AE 22CD 7D88 AABE  29A2 4744 78B5 90A1 345C
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.1
> 
> iQA/AwUBN6InV0dEeLWQoTRcEQIr4QCgkDVynieq8hu79DtUMvopLgn18B8AnRDn
> WrQEGMeTUqQTPzW4z1GWfsF8
> =HXqW
> -----END PGP SIGNATURE-----
> 
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]

-- 
Adam Thompson, MCNE, MCSE, CWT, A+
Vice-President / Chief Technology Officer, Commerce Design Inc.
<[EMAIL PROTECTED]>
tel: (204) 942-1648, fax: (204) 989-8080, cell: (204) 782-6198
begin:vcard 
n:Thompson;Adam
tel;pager:(204) 931-2678
tel;cell:(204) 782-6198
tel;fax:(204) 989-8080
tel;work:(204) 942-1648
x-mozilla-html:FALSE
url:http://www.commerced.com/
org:Commerce Design Inc.
adr:;;Unit #2, 90 Market Ave.;Winnipeg;MB;R3B 0P3;Canada
version:2.1
email;internet:[EMAIL PROTECTED]
title:Vice-President / Chief Technology Officer
fn:Adam Thompson
end:vcard

S/MIME Cryptographic Signature

Reply via email to