Installing in /usr/src/gnu/lib/libg++ normally reinstalls /usr/include/g++. If you don't want to rebuild and install the whole thing, just: rm -rf /usr/include/g++ cd /usr/src/gnu/lib/libg++ make beforeinstall ------------------------------------------------------------------------------