Apache Install

My current apache has the following listing.

 ls
admin      bin        cgi        corefiles  htdocs     include    logs       manual     openssl
build      conf       error      icons      lib        man        modules

It has httpd.conf inside the conf directory and many .so files inside the modules directory.

I tried to download apache latest version from

Download - The Apache HTTP Server Project

Unix Source: httpd-2.2.21.tar.gz [PGP] [MD5] [SHA1]

However, the download does not contain the same directories as expected.

 ls
ABOUT_APACHE      INSTALL           Makefile.win      README.platforms  buildconf         emacs-style       include           os
Apache.dsw        InstallBin.dsp    NOTICE            ROADMAP           config.layout     httpd.dep         libhttpd.dep      server
BuildAll.dsp      LAYOUT            NWGNUmakefile     VERSIONING        configure         httpd.dsp         libhttpd.dsp      srclib
BuildBin.dsp      LICENSE           README            acinclude.m4      configure.in      httpd.mak         libhttpd.mak      support
CHANGES           Makefile.in       README-win32.txt  build             docs              httpd.spec        modules           test

I understand that this may be the source, however need steps to get it look same as the existing listing.

This is asking for a compilation... do you have a c compiler installed?
To see what to do read the README file

Any command to check if i have C compiler ?

uname -a
SunOS mymachine 5.10 Generic_144488-07 sun4v sparc SUNW,SPARC-Enterprise-T5220
which cc; which gcc

Would it not be easier to see if there is not a ready compiled version for your solaris?

Freeware List for SPARC and Solaris 10

which cc
no cc in /usr/bin /opt/SUNWspro/bin /opt/sfw/cups/bin /usr/bin . /opt/VRTS/bin /opt/sfw/bin /usr/local/bin
which gcc
no gcc in /usr/bin /opt/SUNWspro/bin /opt/sfw/cups/bin /usr/bin . /opt/VRTS/bin /opt/sfw/bin /usr/local/bin

Kindly help trace my C compiler.

lo4:/export/home/vbe $ what /bin/cc
/bin/cc:
        SunOS 5.10 Generic January 2005
        stdio.h 1.84    04/09/28 SMI
        feature_tests.h 1.25    07/02/02 SMI
        ccompile.h      1.2     04/11/08 SMI
        isa_defs.h      1.29    08/06/06 SMI
        stdio_iso.h     1.8     05/08/16 SMI
        va_list.h       1.15    04/11/19 SMI
        stdio_tag.h     1.4     04/09/28 SMI
        stdio_impl.h    1.15    07/03/05 SMI
        stdio_c99.h     1.2     04/03/29 SMI
        stdlib.h        1.51    04/06/30 SMI
        stdlib_iso.h    1.9     04/09/28 SMI
        stdlib_c99.h    1.2     04/03/29 SMI
        unistd.h        1.76    06/03/10 SMI
        types.h 1.86    07/09/20 SMI
etc...
lo4:/export/home/vbe $ find / -name cc -print
/opt/solstudio12.2/prod/bin/cc
/opt/solstudio12.2/prod/include/cc
/opt/solstudio12.2/include/cc
/opt/solstudio12.2/bin/cc
etc...