Errors in installing OpenMPI on El Capitan
I find the solution to my problem. The the license agreement was required to be completed before ./configure --prefix=/usr/local (as I suspected and @klanomath confirmed). If not so, the command make all can't be run.