473,379 Members | 2,675 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Error while installing Python2.5.1 on red hat 9

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.


As far as i know there are no distribution repositories in red hat.... and there are four rpms for gcc. So i don't get why it's not able to find any C compiler.
If anybody can help... Thanx!
Jun 23 '07 #1
5 1822
bartonc
6,596 Expert 4TB
This link could be useful.

It would be interesting to know if you can call a C compiler from a shell prompt...
Jun 23 '07 #2
@bartonc....Yes got it! That link you gave is truly out of this (cyber)world! Thanx a lot!
Jun 23 '07 #3
bartonc
6,596 Expert 4TB
@bartonc....Yes got it! That link you gave is truly out of this (cyber)world! Thanx a lot!
Just lucky, I guess. I'm not a *nix guy. I just took 3 words from your post ("rpms for gcc") and Googled it. That was the first hit and it looked interesting.
Jun 23 '07 #4
Jach
4
It would be interesting to know if you can call a C compiler from a shell prompt...
Of course!
gcc file.c -o outputfile
g++ file.cpp
javac file.java

etc. Linux shell rules, and the whole premise of a make file is to compile everything at once (and warn you if you don't have dependencies) so you don't have to search around and compile stuff.

Anyway, good to know this error is resolved; I think I had something similar once, but I don't remember what I did to fix it.
Jun 23 '07 #5
bartonc
6,596 Expert 4TB
Of course!
gcc file.c -o outputfile
g++ file.cpp
javac file.java

etc. Linux shell rules, and the whole premise of a make file is to compile everything at once (and warn you if you don't have dependencies) so you don't have to search around and compile stuff.

Anyway, good to know this error is resolved; I think I had something similar once, but I don't remember what I did to fix it.
I was merely trying to ascertain whether the OP actually had a compiler installed or not.
Jun 24 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Sean | last post by:
System is Redhat 9.0, Python 2.2.3, Zope 2.6.2 built OpenSSL from source: 2791797 Sep 30 14:50:15 2003 openssl-0.9.7c.tar.gz used configure options to set for /usr/local and...
0
by: Wouter Vanden Hove | last post by:
I'm trying to install Numeric on a mandrake-9.1 box but I get following error: # python setup.py install 'import site' failed; use -v for traceback Using EXTRA_COMPILE_ARGS = Traceback...
0
by: Adelein and Jeremy | last post by:
I have just installed Python 2.3.3, after first installing Tcl/Tk 8.4.6. After successful installation of Tcl/Tk (including passing configure the '--enable-shared' option), and testing both Tcl...
7
by: Edward Diener | last post by:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a number of Linux utilities and commands, like yum, stop working because they were dependent on the Python 2.3 installation....
0
by: mmarkzon | last post by:
I have been struggling compiling linkchecker from http://linkchecker.sourceforge.net/. The last thing I get is "error: command 'gcc' failed with exit status 1" which is not very helpful. This is...
13
by: Gary Wessle | last post by:
Hi I am trying to install NumPy in my debian/testing linux 2.6.15-1-686. with no numpy for debian/testing, I am left alone, since the experimental version available by debian will result in a...
0
by: Cecilia Marini Bettolo | last post by:
Hi! When installing scipy I get this error: python setup.py install Traceback (most recent call last): File "setup.py", line 55, in ? setup_package() File "setup.py", line 28, in...
5
by: Cappy2112 | last post by:
I've just started a job which has a massive python2.3.4-centric tools installation and configuration. I know what you're going to say, but I can't upgrade and be the only one with a newer...
6
by: BartlebyScrivener | last post by:
If there is a wxPython on Debian user in the house? I am using the version of the demo that came with the apt-get download of wxPython. I thought I'd followed the instructions for installing and...
4
by: BL | last post by:
I am very new to python. I am installing it as part of a bazzar version control installation. I have installed the Crypto, paramiko and cElementTree modules. I am running Solaris10x86. When...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.