471,347 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,347 software developers and data experts.

Error while installing Python2.5.1

I use red hat 9 which comes with python2.2 installed in it. Wanting to
use the latest version, i downloaded python 2.5.1 from the official
python website. After downloading, i performed the following steps,
but there is some error during the configuration process and hence i'm
not able to run the "make" command after this. Following is the
sequence of events that happened in my terminal:

[root@localhost root]# tar xfz Python-2.5.1.tgz
[root@localhost root]# cd Python-2.5.1
[root@localhost Python-2.5.1]# ./configure
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking for --without-gcc... 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.
[root@localhost Python-2.5.1]# make
make: *** No targets specified and no makefile found. Stop.

If anybody can help... Thanx!

Jun 21 '07 #1
7 1666
On Thu, 21 Jun 2007 10:03:43 +0200, <za*****@gmail.comwrote:
checking for --without-gcc... 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.
It appears you have no C compiler installed. You should be able to get one
of those from your distribution's repositories. If you can't, upgrade to
something debian-based.
/pavel

Jun 21 '07 #2
I dont understand.... What are my distribution repositories?

Jun 22 '07 #3
I dont understand.... What are my distribution repositories?

Jun 22 '07 #4
On 6/21/07, za*****@gmail.com <za*****@gmail.comwrote:
I dont understand.... What are my distribution repositories?
AFAIK there aren't any repositories for Red Hat 9. But there should be
a gcc rpm on your installation media.

--
Evan Klitzke <ev**@yelp.com>
Jun 22 '07 #5


So how do i overcome this problem?? How do i access my distribution
repositories(if any) or installation media?

Jun 22 '07 #6
So how do i overcome this problem?? How do i access my distribution
repositories(if any) or installation media?
You need to move to your living room. In the closet on the right side,
in the second drawer from the top, you are keeping the keeping the
Redhat DVDs. Open the drawer, pick the DVD cover, open it, and
remove the DVD. Push the "open" button on your DVD drive, put the
DVD into the tray, and put the "open" button again. When done,
ask for further instructions.

Regards,
Martin
Jun 22 '07 #7
In the Red Hat installation cd, i saw that there are four rpms for
gcc. Now what do i need to do?

Jun 23 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Wouter Vanden Hove | last post: by
reply views Thread by Adelein and Jeremy | last post: by
7 posts views Thread by Edward Diener | last post: by
reply views Thread by mmarkzon | last post: by
13 posts views Thread by Gary Wessle | last post: by
reply views Thread by Cecilia Marini Bettolo | last post: by
5 posts views Thread by Cappy2112 | last post: by
6 posts views Thread by BartlebyScrivener | last post: by
4 posts views Thread by BL | last post: by
reply views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.