Greetingz!
I've been where you are, and I really feel the need to comment. I've learned this lesson the "hard way" about compiling from source, and I only hope it's not too late for you.
I've seen my share of software projects that didn't define "
uninstall" in their Makefile, which leaves "The Big ReInstall" as the only cleanup option after a year or so compiling from source without specifying certain options.
For future reference, when running "
./configure --help" check to see if you can specify a "
--prefix=". Typically this is what I do;
./configure --prefix=/usr/local/package-1.2.3-ddmmmyy
Where "
package" is the package name, "
1.2.3" is the version number, and "
ddmmmyy" is the day, month, and year that the version was released (so I know when to go looking for new releases).
Once I build the package, if I have to call the binaries manually, I'll create a link like so;
ln -s /usr/local/package-1.2.3-ddmmmyy /usr/local/package
That way, I can put a simple directory in the global $PATH. It also makes upgrades easier, I just have to build a new version with a new "
--prefix=" string, then all that's left is changing the symbolic link.
This makes roll-backs and general cleanup easier, for those of us who work in an environment where we have to consider Production vs. Development areas.
Plus I don't have to keep the exploded source tree anywhere!