Normally for quick tests I don't install binaries from source into my
system anymore, I just run them inside the source tree.
For example:
zebra/zebra -d &
bfdd/bfdd -d &
The only downside is that it makes it harder to run `gdb`, since the
file we are running is actually a shell script that sets the proper
environment (e.g. library location in the source folder).
libtool --mode=execute gdb zebra/zebra
Details to be found at https://www.gnu.org/software/libtool/manual/html_node/Debugging-executables.html
All Best,
Chris