Here is the procedure I used to build mpiblast from source
Get mpiblast (pick one of these):
Get ncbi tollbox (pick one)
either
*apt-get install automake1.9
*yum install automake
tar zxvf mpiblast-latest.tar.gz
tar zxvf ncbi.tar.gz
One of
ncbi/make/makedis.csh
cd mpiblast
aclocal
autoheader
automake -a
autoconf
wget http://cvs.savannah.gnu.org/viewvc/*checkout*/config/config/config.sub
wget http://cvs.savannah.gnu.org/viewvc/*checkout*/config/config/config.guess
./configure --with-ncbi=/full/path/to/ncbi
make