Hello all.
I am a newbie to Linux installations.
i have installed on my home PC CentOS 5.5, and downloaded Python 3.1.3 source, when I have tried to run the configuration file
I have got
...
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/ldagan/python/Python-3.1.3':
configure: error: no acceptable C compiler found in $PATH
...
I have tried downloading gcc and installing it, but got the same message.
So, I can't find any C compiler, and I can't install one. I assume that there is a solution, only that I am not familiar with one...
Any ideas?
-Lior
I can't find a C compiler to configure gcc & Python 3.1.3
Re: I can't find a C compiler to configure gcc & Python 3.1.3
yum install gcc
Re: I can't find a C compiler to configure gcc & Python 3.1.3
You should be extremely careful if you aim to compile something like python from source as many of the Redhat tools are written in python and depend on the version that ships with RHEL/Centos being installed. If you replace it you may well break your system completely. If you really [b]must[/b] have python 3.1 then please make sure you install it to a different location than the python 2.4 that ships with Centos 5.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
I can't find a C compiler to configure gcc & Python 3.1.3
Rather than building from source you may want to check out the python31 packages from the [url=http://wiki.centos.org/AdditionalResources/Repositories?highlight=%28IUS%29|%28Community%29]IUS Community repo[/url].
Re: I can't find a C compiler to configure gcc & Python 3.1.3
I will try it and let you know