The short answer is to read the instructions supplied, some source comes with a configure script (run ./configure, then make, then make install (as root)), some come with a makefile (just run make, then make install...), some come with script files (or utilities) that do it all for you... most projects need certain library's installed (some cases certain versions of the library's)... the documentation should tell you how to build it and what the dependencies are.