You need to do a ./configure first from the proper directory. Before hand you may want to do a ./configure --help to see the various options. You can also look at the config.ep file to see what it found after you do the ./configure command. The do make sudo make install