pc files for librfm, dbh and tubo are placed at $libdir/pkgconfig instead of $datadir/pkgconfig on building in CentOS-7.0
Also, you will get:
"sudo: sorry, you must have a tty to run sudo"
from sudo, so must add a message in stderr handler specifying that
"Defaults requiretty"
should be commented out with visudo.
Diff: