On 26 September 2017 at 09:09, Chen tom wrote: > hello, > > the following quotation is the problem, when I did the 'configure', it > comes out. The 'config.log' is in the attachment. > >> tom@tom-Inspiron-7447:~/Downloads/gcc-7.2.0$ sudo ./configure Why are you using sudo to compile software? That's unnecessary, and a bad idea. You should read the advice at https://gcc.gnu.org/wiki/InstallingGCC