building apache and make command is not working

Posted on 2011-04-27
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

    Issue this command

    yum install openssl-devel
    LVL 38

    Expert Comment

    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

    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

    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 28

    Assisted Solution

    by:Jan Springer
    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 and download the latest distribution.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now