I am having a similar problem to Ed.

I am trying to compile Apache (1.3.9) with mod_ssl (0.9.6, and I have tried
0.9.5a and get the same problem) on a Solaris machine (Version 2.7).  I do
not need perl in the web server but the perl application is present on the
system.

We are having to backgrade to 1.3.9 because there seem to be some issues
with Apache 1.3.12 interacting with the WebLogicServer that we are using for
the application middleware.

I have followed all of the instructions that have been listed, but to no
avail.  I have also tried to compile mod_ssl into apache using the apxs
instructions after apache was installed cleanly.  This gives me the error of
"EAPI not present".  I am by no means a Unix guru, and am quite stuck.  I
have followed all of the instructions for apache_1.3.12 and that is working
(It just has conflicts with WLS).

I am open to any suggestions.

Further information:
The source is in my home directory in:
~/apache_1.3.9
~/mod_ssl-2.4.10-1.3.9

./configure run in ~/mod_ssl-2.4.10-1.3.9 using the keys that I already
have, and them make run from ~/apache_1.3.9

-----

Here is the error:

# make
===> src
===> src/os/unix
<=== src/os/unix
===> src/ap
<=== src/ap
===> src/main
<=== src/main
===> src/lib
===> src/lib/expat-lite
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
<=== src/modules/standard
===> src/modules/ssl
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=270 -DMOD_SSL=204110
-DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fPIC
-DSHARED_MODULE -DSSL_COMPAT -I/usr/local/ssl/include
-DMOD_SSL_VERSION=\"2.4.10\" ssl_util_ssl.c && mv ssl_util_ssl.o
ssl_util_ssl.lo
ssl_util_ssl.c:145: conflicting types for `d2i_PrivateKey_bio'
/usr/local/ssl/include/openssl/x509.h:779: previous declaration of
`d2i_PrivateKey_bio'
*** Error code 1
make: Fatal error: Command failed for target `ssl_util_ssl.lo'
Current working directory /export/home/robert/apache_1.3.9/src/modules/ssl
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /export/home/robert/apache_1.3.9/src/modules
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /export/home/robert/apache_1.3.9/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /export/home/robert/apache_1.3.9
*** Error code 1
make: Fatal error: Command failed for target `build'

-----

Cheers

Robert Halls
Networks Administrator
extu.com

40 Holborn Viaduct
London
EC1N 2PB

Tel:            +44 (0)20 7832 3321
Fax:            +44 (0)20 7832 3593
Direct: +44 (0)20 7832 3323
Mobile: +44 (0)7971 835527

The contents of this e-mail are intended for the named addressee only.  It
contains information which may be confidential and which may also be
privileged. Unless you are the named addressee (or authorised to receive for
the addressee) you may not copy or use it, or disclose it to anyone else. If
you received it in error please notify us immediately and then destroy it.
Further, we make every effort to keep our network free from viruses.
However, you do need to check this e-mail and any attachments to it for
viruses as we can take no responsibility for any computer virus which might
be transferred by way of this e-mail.


-----Original Message-----
From: Ed Arizona [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 5:16 AM
To: [EMAIL PROTECTED]
Subject: problem compiling...



I'm having a problem compiling apache 1.3.9 with mod_ssl and mod_perl. 
I'm sure this is a simple question--it looks like any c programmer would
know how to solve this... hence the problem!  I'm not!  :-)

Thanks in advance,

-Ed.

-------- Original Message --------
Date: Thu, 19 Oct 2000 23:59:23 -0400
From: root <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

(cd ../apache_1.3.9+both && make)
make[1]: Entering directory `/www/apache_1.3.9+both'
===> src
make[2]: Entering directory `/www/apache_1.3.9+both'
make[3]: Entering directory `/www/apache_1.3.9+both/src'
===> src/regex
make[4]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[4]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[4]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[4]: Nothing to be done for `all'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[5]: Nothing to be done for `all'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
make[5]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/ssl
gcc -c -I../.. -I/usr/local/lib/perl5/5.6.0/i586-linux/CORE
-I../../os/unix -I../../include   -DLINUX=2 -DMOD_SSL=204110 -DMOD_PERL
-DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DEAPI
-DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -DSSL_COMPAT
-DSSL_USE_SDBM -I/usr/local/ssl/include -DMOD_SSL_VERSION=\"2.4.10\"
ssl_util_ssl.c
ssl_util_ssl.c:145: conflicting types for `d2i_PrivateKey_bio'
/usr/local/ssl/include/openssl/x509.h:779: previous declaration of
`d2i_PrivateKey_bio'
make[5]: *** [ssl_util_ssl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/www/apache_1.3.9+both/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/www/apache_1.3.9+both'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/www/apache_1.3.9+both'
make: *** [apaci_httpd] Error 2
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to