1. configure
2. make
3. sudo make install
Note the absence of 1, which would usually perform these kinds of things (checking for prerequisites, for example).