Read the files INSTALL and README, included in the distribution, for instructions on how to build the package. In the simplest (and most common) case, they boil down to the following:

 $ ./configure
 $ make
 $ make install

So far, there is only one package-specific configuration option: --without-readline. Use it if you wish to disable readline support in MIX terminal.