configure: error: no acceptable C compiler found in $PATH

我与影子孤独终老i 提交于 2019-12-05 07:02:34

The path to your gcc compiler is not in the PATH.

You may add it before you run make.

export PATH=${PATH}:/c/MinGW/bin
./configure && make

Goodluck.

If it is centos/redhat machine install full set of development package

$ sudo yum groups install "Development Tools"

it includes gcc,g++,make Id. After installing try again

This tread is old, however, it worked for me by enabling "set MSYS2_PATH_TYPE=inherit" in the startup script. Running mingw64.exe in the root of MSYS2 worked as well.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!