building apache and make command is not working

Posted on 2011-04-27
Medium Priority
Last Modified: 2012-05-11
Hi Folks,

I'm trying to complied / Installed apache 2.2.x for linux 64 bit.
$uname -a
2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:17:42 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

After running ./configure command i see below error:
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
no OpenSSL headers found
checking for SSL-C version... checking sslc.h usability... no
checking sslc.h presence... no
checking for sslc.h... no
no SSL-C headers found
configure: error: ...No recognized SSL/TLS toolkit detected

and when i type make
# make
make: *** No targets specified and no makefile found.  Stop.

Then i checked if i have openssl installed, so
# rpm -qa | grep -i ssl

# which make

Could you guys please help what could be the issue?

Thank you
Question by:jayatallen
LVL 31

Accepted Solution

farzanj earned 668 total points
ID: 35479394
Issue this command

yum install openssl-devel
LVL 38

Expert Comment

ID: 35479396
RHEL 5 or CentOS have apache 2.2x in the repository.

As root,
# yum install httpd

It will download and install all the dependencies for you.
LVL 38

Assisted Solution

wesly_chen earned 664 total points
ID: 35479420
By the way, if you don't want the apache version from RedHat, then you can uninstall it
# yum remove httpd

At this point, you have all the dependencies.
Then compile the version of Apache you want.

Author Comment

ID: 35479938
thank you guys for your prompt respond.
I spoke with SA and they are not willing to do this. They are asking us to go with their apache build.
Anyhow,we have to go with Build. But i learned something.

Thank you once again.
LVL 29

Assisted Solution

by:Jan Springer
Jan Springer earned 668 total points
ID: 35483708
Do you have openssl installed?  If so and it's in an alternative location, you need to pass that information to configure.  Should it not be installed, go to openssl.org and download the latest distribution.

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 4 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question