https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119
--- Comment #7 from maths soso <h.sousou97 at gmail dot com> --- I added to path of libgmp, libmpc, and libmpfr to LD_LIBRARY_PATH, and still. make[1]: *** [Makefile:5149: configure-gmp] Error 1 make[1]: *** Waiting for unfinished jobs.... checking whether to install libiberty headers and static library... no configure: target_header_dir = checking for x86_64-pc-linux-gnu-gcc... gcc checking whether to install libiberty headers and static library... no