configure: error: no acceptable C compiler found in $PATH
This error usually occurs when you installing a program and its missing gcc compiler location in the $PATH variable, one of dependencies for the program you are installing.
$PATH is an environment variable or we can call it as a global variable which holds executables directories relevant to the current user. For example in linux, it is bin,sbin and in windows it holds c:windowssystem32
So when you install a program and it requires gcc compiler, it will try to find its location in $PATH variable. When its location not available in the $PATH variable you may get configure: error: no acceptable C compiler found in $PATH
To resolve this you have to install gcc compiler. It can be installed in the following ways,
redhat:
Debian:
$PATH is an environment variable or we can call it as a global variable which holds executables directories relevant to the current user. For example in linux, it is bin,sbin and in windows it holds c:windowssystem32
So when you install a program and it requires gcc compiler, it will try to find its location in $PATH variable. When its location not available in the $PATH variable you may get configure: error: no acceptable C compiler found in $PATH
To resolve this you have to install gcc compiler. It can be installed in the following ways,
redhat:
yum groupinstall "Development Tools"
Debian:
apt-get install build-essential
Comments (0)