Hi All,
Installing the Tarball's are easy when if you installed the developement tools.
please make sure that the follow are be in place,
1) Gnu C Compiler formly know as gcc
2) flex,lex,make,gmake,automake etc
3) C
4) bycc
5) bison etc
6) then you can go through the README & INSTALL Documents for the specific software u r trying to install.
7)take the help of ./configure script (i.e) ./configure --help
while you are configuring if its gives any error, then try to resolv that issue 1 st . then configure.

then use "make" command.here also u may facing some problem b'cz of unavilablity of developement tool.
9) once if u successfully finished the above steps, then u can go for a "make install" command.make install command simply copies the file's, program's,libreries etc into specific installation --PREFIX directories.
10) Finally do not forget to update ur $PATH variable.b'cz sometime's u cant get those commands just u compiled previously.otherwise u have to issue the absolute path.
thanks,
aaru
Note:
Suppose if u want compile software developed in "PHP, Perl,Python" etc then you should have installed those software 1 st before proceed to compile software.