No acceptable C compiler was found in $PATH
Peter Nuttall
p.s.nuttall at dur.ac.uk
Mon Dec 20 08:22:31 EST 2004
On Monday 20 Dec 2004 03:58, banaticus wrote:
> What does this error message mean? What can I do to fix it?
>
> 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 #
Hi banaticus,
Your problem is that configure can not find a C complier on your computer.
This is because: 1) you don't have a C complier installed, or 2) it isn't
in your $PATH
first of all, find the package that contains gcc for your linux distro and
check it is installed. If it isn't installed, install it and try again.
If it is installed, work out where it installed to and try something like:
echo $PATH
if the list of colon separated paths does not contain the the dir where your
gcc is installed to, fix $PATH with export and try again.
Hope this helps
Pete
More information about the Python-list
mailing list