Build apache from source can be simple yet complex. A very basic build would be something like this
Please note the \ just allows me to put the options on the next line for readability.
--prefix option defines where to put the install. Most things you compile will and should go to /usr/local/ or /opt/
--enable-so allows you to compile and run things like php
--with-included-apr this is a apache runtime library. with 2.2x it comes with the source and if you try to install apache 2.4 then you'll need to download apr apr-util apr.apache.org. You will have to move them into apache source direct into srclib. Read documentation full for details on included apr
You may want to enable unique ID, suexec ssl and userdir options as well.
also read the docs @ http://httpd.apache.org
You need to try and understanding the configuration.
Hope this gives you an idea. But if you just want stable and not bleeding edge then download centos and you can install this via commmand.
# yum install httpd