...also (parenthetically) don't run make
as root, with sudo. That's partly because one can imagine something breaking during the build which stomps on something important (which not being root would have prevented), and also on the general principle that it's good to be root as little as possible.
If you are indeed installing something in a system location such as /usr/local
, build as yourself, then do make -n install
and check what's going to be installed where (presuming the thing you're building has an install target). If everything looks OK, only then do sudo make install
.