logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: configure script fails on debian squeeze
Author
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Wed 28 Mar '12 20:01    Post subject: configure script fails on debian squeeze Reply with quote

The configure script fails even if OpenSSL 0.9.8o is installed. Any clue how to fix that?

Quote:

checking whether to enable mod_ssl... checking dependencies
checking for OpenSSL... checking for user-provided OpenSSL base directory... none
checking for OpenSSL version >= 0.9.7... FAILED
configure: WARNING: OpenSSL version is too old
no
checking whether to enable mod_ssl... configure: error: mod_ssl has been requested but can not be built due to prerequisite failures
mario@h2020668:~/apache24/httpd-2.4.1$ openssl version
OpenSSL 0.9.8o 01 Jun 2010
mario@h2020668:~/apache24/httpd-2.4.1$
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Wed 28 Mar '12 22:18    Post subject: Reply with quote

I'm not seeing that same error on Debian Squeeze, and my /usr/include/openssl/opensslv.h file says "OpenSSL 0.9.8o"
Quote:
tom@tom6:~/httpd-2.4.1$ openssl version
OpenSSL 0.9.8o 01 Jun 2010
Maybe your compiler is getting OpenSSL headers from the wrong place? Specifically, the header file: <openssl/opensslv.h>.

You could try this command to check which header is included:
Code:
echo '#include <openssl/opensslv.h>' | gcc -E -H -
The results should show the headers in /usr/include:
Quote:
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "<stdin>"
. /usr/include/openssl/opensslv.h
# 1 "/usr/include/openssl/opensslv.h" 1 3 4
# 1 "<stdin>" 2

There could be left-over header files in /usr/local/include/openssl if someone forgot to delete them after removing a local install of OpenSSL.

-tom-
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Thu 29 Mar '12 9:47    Post subject: Reply with quote

Thank you for your suggestion. Well the installed OpenSSL showed the same.
Quote:

mario@h2020668:~/apache24/httpd-2.4.1$ openssl version
OpenSSL 0.9.8o 01 Jun 2010


I tried a couple of time to install a newer version of OpenSSL. In the end I found a way to upgrade it, not using the normal Configure script, but the unix config one.

Code:

wget http://openssl.org/source/openssl-1.0.1.tar.gz
tar xfz openssl-1.0.1.tar.gz
cd openssl-*
./config --prefix=/usr zlib-dynamic --openssldir=/etc/ssl shared
make
sudo make install
Back to top


Reply to topic   Topic: configure script fails on debian squeeze View previous topic :: View next topic
Post new topic   Forum Index -> Apache