Problems compiling Apache 1.3.27

Problems compiling Apache 1.3.27

Post by Marc » Wed, 06 Nov 2002 17:18:51



Hello,

I am currently trying to compile the latest version of Apache 1.3.27
with it's mod_ssl, the problem is that my OpenSSL headers and libraries
are not in a well known place, to be precise they are in /opt/openssl
and when I do the ./configure of Apache it doesn't find the headers as
you can see underneath.

How can I tell Apache where my OpenSSL headers are ??

Many thanks

Regards

Configuring for Apache, Version 1.3.27
  + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
  + configured for Solaris 280 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.8.12
       + SSL interface build type: OBJ
       + SSL interface compatibility: enabled
       + SSL interface experimental code: disabled
       + SSL interface conservative code: disabled
       + SSL interface vendor extensions: disabled
       + SSL interface plugin: Vendor DBM (libc)
       + SSL library path: [SYSTEM]
Error: Cannot find SSL header files in any of the following dirs:
Error: . /usr/include /usr/include/ssl/ /usr/local/include
/usr/local/include/ssl
       + SSL library version: OpenSSL 0.9.6g 9 Aug 2002

 
 
 

Problems compiling Apache 1.3.27

Post by Nemesis Service » Wed, 06 Nov 2002 17:30:07


../configure --help

and look for openssl syntax


Quote:> Hello,

> I am currently trying to compile the latest version of Apache 1.3.27
> with it's mod_ssl, the problem is that my OpenSSL headers and libraries
> are not in a well known place, to be precise they are in /opt/openssl
> and when I do the ./configure of Apache it doesn't find the headers as
> you can see underneath.

> How can I tell Apache where my OpenSSL headers are ??

> Many thanks

> Regards

> Configuring for Apache, Version 1.3.27
>   + using installation path layout: Apache (config.layout)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
>   + configured for Solaris 280 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.8.12
>        + SSL interface build type: OBJ
>        + SSL interface compatibility: enabled
>        + SSL interface experimental code: disabled
>        + SSL interface conservative code: disabled
>        + SSL interface vendor extensions: disabled
>        + SSL interface plugin: Vendor DBM (libc)
>        + SSL library path: [SYSTEM]
> Error: Cannot find SSL header files in any of the following dirs:
> Error: . /usr/include /usr/include/ssl/ /usr/local/include
> /usr/local/include/ssl
>        + SSL library version: OpenSSL 0.9.6g 9 Aug 2002


 
 
 

Problems compiling Apache 1.3.27

Post by Marc » Wed, 06 Nov 2002 20:37:55



> ../configure --help

> and look for openssl syntax

Sorry but I can't see the option which tells Apache where my SSL headers
files are, do you ? ->

./configure --help | grep -i ssl
                         [SOCKS4=no       SOCKS5=no       SSL_COMPAT=yes ]
                         [SSL_CONSERVATIVE=no SSL_EXPERIMENTAL=no SSL_SDB]
                         [SSL_VENDOR=no   WANTHSREGEX=default            ]
                         [speling=no      ssl=no          status=yes     ]

Regards

 
 
 

Problems compiling Apache 1.3.27

Post by Nemesis Service » Wed, 06 Nov 2002 21:12:00


have you complied mod_ssl to patch apache at all



> > ../configure --help

> > and look for openssl syntax

> Sorry but I can't see the option which tells Apache where my SSL headers
> files are, do you ? ->

> ./configure --help | grep -i ssl
>                          [SOCKS4=no       SOCKS5=no       SSL_COMPAT=yes ]
>                          [SSL_CONSERVATIVE=no SSL_EXPERIMENTAL=no SSL_SDB]
>                          [SSL_VENDOR=no   WANTHSREGEX=default            ]
>                          [speling=no      ssl=no          status=yes     ]

> Regards

 
 
 

Problems compiling Apache 1.3.27

Post by Marc » Wed, 06 Nov 2002 21:30:19



> have you complied mod_ssl to patch apache at all

Yes I did that before, with the following command line:

./configure --with-apache=../apache_1.3.27 --with-ssl=../openssl-0.9.6g
--prefix=/opt/apache

Regards

 
 
 

Problems compiling Apache 1.3.27

Post by Bob Mors » Thu, 07 Nov 2002 03:38:16


Does your LD_LIBRARY_PATH include /opt/openssl/lib?


Quote:> Hello,

> I am currently trying to compile the latest version of Apache 1.3.27
> with it's mod_ssl, the problem is that my OpenSSL headers and libraries
> are not in a well known place, to be precise they are in /opt/openssl
> and when I do the ./configure of Apache it doesn't find the headers as
> you can see underneath.

> How can I tell Apache where my OpenSSL headers are ??

> Many thanks

> Regards

> Configuring for Apache, Version 1.3.27
>   + using installation path layout: Apache (config.layout)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
>   + configured for Solaris 280 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.8.12
>        + SSL interface build type: OBJ
>        + SSL interface compatibility: enabled
>        + SSL interface experimental code: disabled
>        + SSL interface conservative code: disabled
>        + SSL interface vendor extensions: disabled
>        + SSL interface plugin: Vendor DBM (libc)
>        + SSL library path: [SYSTEM]
> Error: Cannot find SSL header files in any of the following dirs:
> Error: . /usr/include /usr/include/ssl/ /usr/local/include
> /usr/local/include/ssl
>        + SSL library version: OpenSSL 0.9.6g 9 Aug 2002

 
 
 

Problems compiling Apache 1.3.27

Post by Harry Sufeh » Thu, 28 Nov 2002 00:52:25


I've had similar problem and apparently the solution is by typing the
following when configuring Apache (which is done after you configure
mod_ssl):

------------------
SSL_BASE=/bcc/ssl ./configure --prefix=/bcc/apache_1.3.26
--enable-shared=ssl --enable-module=ssl
------------------

ALL in one line. (google groups split the line above)
I have OpenSSL 0.9.6g installed at /bcc/ssl, and I wish to install
apache at /bcc/apache_1.3.26

Previously I typed the SSL_BASE bit, and then ./configure blah blah.
It failed, with exactly the same error message as yours, complaining
that it's not able to find SSL header files.

Wasted hours hacking and looking for the solution - only then finally
found the correct way to do it.
Apparently, you have to type them (SSL_BASE and the "configure" bit)
all in the same line !

Hope it helps.

regards,
Harry


> Hello,

> I am currently trying to compile the latest version of Apache 1.3.27
> with it's mod_ssl, the problem is that my OpenSSL headers and libraries
> are not in a well known place, to be precise they are in /opt/openssl
> and when I do the ./configure of Apache it doesn't find the headers as
> you can see underneath.

> How can I tell Apache where my OpenSSL headers are ??

> Many thanks

> Regards

> Configuring for Apache, Version 1.3.27
>   + using installation path layout: Apache (config.layout)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
>   + configured for Solaris 280 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.8.12
>        + SSL interface build type: OBJ
>        + SSL interface compatibility: enabled
>        + SSL interface experimental code: disabled
>        + SSL interface conservative code: disabled
>        + SSL interface vendor extensions: disabled
>        + SSL interface plugin: Vendor DBM (libc)
>        + SSL library path: [SYSTEM]
> Error: Cannot find SSL header files in any of the following dirs:
> Error: . /usr/include /usr/include/ssl/ /usr/local/include
> /usr/local/include/ssl
>        + SSL library version: OpenSSL 0.9.6g 9 Aug 2002

 
 
 

1. Trying to compile Apache 1.3.27

Newbie trying to compile Apache 1.3.27 on Solaris 9.

I've been working through errors, but have hit a wall. I added the
path to 'make' and am now getting:

$ ./configure --with-layout=Apache
Configuring for Apache, Version 1.3.27
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Solaris 290 platform
 + setting C pre-processor to /lib/cpp
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
cd ..; /usr/local/bin  -DSOLARIS2=290 -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c  
-lsocket -lnsl -lpthread
sh: /usr/local/bin: cannot execute
*** Error code 1
make: Fatal error: Command failed for target `dummy'
============= End of Error Report =============

 Aborting!

Help and thanks in advance....

2. what is /var/mail/:saved ?

3. Trouble compiling apache 1.3.27 on windows 2000 with .NET

4. detecting cache

5. Compiling Apache 1.3.27+SSL on Solaris 2.8

6. Two BIND 9.2.1 questions

7. Apache 1.3.27 & mod_rewrite problem.

8. Automounter troubles

9. apache 1.3.27 + php 4.2.2 + buffering problem

10. problems with apache 1.3.27 on redhat linux 7.2 - [error] (32)Broken pipe: accept:

11. Apache 1.3.27 problems

12. Apache proxy problem on 1.3.27

13. Problems with PHP script after moving from Apache 1.3.27 to 2.0.40