![]() ![]() In fact, there's a better way to pass all dependency issue like "no acceptable C compiler found in $PATH" during whole installation. So next, I install the proper C compiler gcc by the following command and then it will appear in $PATH afterwards: ~]# yum -y install gcc to compile the source, it threw "Configure: Error: no acceptable C compiler found in $PATH" to alert users to fix the problem. Since the installer found no C compiler in $PATH, a string that puts conventional binary directories together, such as /usr/bin, /usr/local/bin or /sbin, etc. In general, each executing process or user session has its own PATH setting. Since we are using a minimal version of Linux, it doesn't have gcc (GNU Compiler Collection) package installed, which is a proper and suitable C compiler for make.Īnd what is $PATH? PATH is an environment variable on Unix-like operating systems, DOS, OS/2, and Microsoft Windows, specifying a set of directories where executable programs are located. This configuration error seemed to be related to missing or found no acceptable C compilers in $PATH. noĬonfigure: error: in `/root/python/Python-3.7.1':Ĭonfigure: error: no acceptable C compiler found in $PATH configure -prefix=$HOME/python/mypythonĬhecking MACHDEP. Now we start to configure it to a predefined destination. ![]() No doubt, this error will also appear in Ubuntu and CentOS.įirst of all, I downloaded the source from python official site, and then extract it. ![]() Tried to install python 3.7.1 in Linux and met this error: "configure: error: no acceptable C compiler found in $PATH". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |