No acceptable C compiler was found in $PATH

Fredrik Lundh fredrik at pythonware.com
Mon Dec 20 07:31:20 CET 2004


"banaticus" <banaticus at yahoo.com> wrote:

> What does this error message mean?  What can I do to fix it?

it usually means what it says... (read on)

> Here'e the command that I just tried running, and the messages that
> I received.  I just barely unpacked python.
>
> linux:/Python-2.4 # ./configure
> checking MACHDEP... linux2
> checking EXTRAPLATDIR...
> checking for --without-gcc... no
> checking for --with-cxx=<compiler>... no
> checking for c++... no
> checking for g++... no
> checking for gcc... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl... no
> checking for gcc... no
> checking for cc... no
> checking for cc... no
> checking for cl... no
> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
> linux:/Python-2.4 #

what happens if you type "cc" or "gcc" from the command line?

what does config.log say?

have you checked the PATH setting?

</F> 






More information about the Python-list mailing list