CentOS 5 :: Can't Find A C Compiler To Configure Gcc & Python 3.1.3
Dec 27, 2010
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
[Code]....
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'm pretty new at working with Linux/Unix systems, just started dealing with the CLI a week or two ago at work so bear with me if my questions/problems seem obvious, they probably aren't to me. URLs are at the bottom since I can't hyperlink to them. We have a server with Red Hat Enterprise Linux Server release 5.2 (Tikanga), x86_64 GNU/Linux. For the past few days at least (not sure when it began) every five minutes we get two messages for CPU0 and CPU1 saying: "Temperature above threshold, cpu clock throttled". Occasionally it says they are normal, so they're not *always* above the threshold but a majority the time.
The server doesn't have internet, so I interact with it and transfer files via ssh/telnet/sftp from my Windows PC to another server running Fedora release 10 (Cambridge) to the RHEL5 server. I have been trying to install lm_sensors to try and read the CPU temperature and possibly the fan speed, but every installation method has failed. I have tried installing it via the yum command I read about on this page (URL 1), but since it doesn't have internet access it didn't work. I then tried manually installing using the instructions on the lm-sensors.org page (URL 2), but whenever I try to install anything (gcc, libtool,
libsysfs) it shows: checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in '/home/user/src/libtool-2.4': configure: error: no acceptable C compiler found in $PATH
I then looked up how to install gcc, but when I found a .rpm file of gcc 4.1.2 for RHEL5 I tried installing that like it mentions here (URL 3), but there are lots of [dependancy] programs I can't find a .rpm for as it seems they are all outdated and hard to find for RHEL5. Do I need to find the installation CD in order to install gcc? And is there any other way to check the cpu temperature or to know how to disable/fix the messages about temperature being above threshold?
I'm trying to compile a program on Cygwin and it seems like as soon as I solve one problem, another pops up. This time, trying to run configure gets me an error message.
The relevant part of my config.log is included below:
I installed Cygwin with everything that was in the Devel folder, just to be on the safe side.
I just installed RedHat and I need to install a compiler (among other things). When I go to 'configure' gcc I get:
configure: error: in `/Compiler': configure: error: no acceptable C compiler found in $PATH
Why in the world would you require a compiler on the install of your compiler!? I may be dumb in many respects, and I'm sure that people will attest to that, but I'm not that dumb...How do I install gcc without a compiler? What, specifically, do I do with the configure script (or executable, I don't know what it is...)
I have recently installed Fedora 11 and I am having some trouble with it. While installing another program I get the message: make: g77: Command not found
I tied to look for the compiler to install using yum search g77
And got the following list:
I was wondering if it is in some obscure repository, which would seem odd to me. I have the following repositories available (as shown in yumex) :
I cannot install g++ on my ubuntu...i can't find the option foe the G++ compiler in the Ubuntu Software centre...and while typing G++ in the terminal I get a message that tells me to add some pentium...
I am comiling some programs on Linux using gcc previously compiled using cc compiler on Solaris. Below are some of the confusions:
1. There is -xildoff option in cc which is giving error "language ildoff not recognized". xildoff in cc is for switching off the option of incremental editor ild. Is there anything equivalent on gcc?
2. There is runtime link option in cc as -R but gcc just says "unrecognised option". Does gcc only supports LD_RUN_PATH?
3. There is -Xa option to force cc to chose a particular flavor of c.Its for default c and K&R C. gcc has -std option but not sure which one is equivalent to -Xa in c. It seems -std=c90?
I want to compile MFiX which is a simulation software. Therefore, I installed the Intel Fortran Compiler Ver. 11.x When compiling, I can only choose between Ver.9.x and 10.x.
This is a part of the error message when choosing either:
Is there a possibility to link the program to the newer compiler version?
I have a fresh install of COS5.6 installed a test laptop. I have following instructions to set up the PXE server based on the following: http:[url]......The base PXE installation seems to work fine (The menu labeled CentOS 5.6 works fine ). The whole purpose of this was to be able to boot iso's like Hirens and Imaging software ISO's.The issue is that whenever i try to pick an iso from the list it just says "Could not find ramdisk image:" [path to iso][path to iso] being either of the two iso i had set up to test this.
I would like to think that i made a typo but i can find one. The files i used are from the source of syslinux v4.0.4.The following information should be pertinent Contents of /tftpboot/pxelinux.0/default[code].....
I have a limited experice with linux in an enterprise environment and looking for any direction as to what to do about this.
I tried to build firefox with PGO using Intel C Compiler (icc), but, configure gave this error message.
Code: configure: error: Could not find the following X libraries: -lX11 -lXext -lXt *** Fix above errors and then restart with "make -f client.mk build" When I tried it using gcc, there's no error msg. What can I do? My .mozconfig file is... Code: export CC=icc
New to Ubuntu (and Linux in general) and have whipped up a quick python script to backup my files and do some other housekeeping. I don't see any service scheduling tools and was wondering what the best way to do this is.
I'm unable to configure the apache2 with python support. I have done the configuration in the following method, but unable to start the python cgi support: I have installed the libapache2-mod-python it has installed python.load in the mods-available directory. In the apache2/sites-available/default file, I have added the following lines.
[code]...
when I request for a python script in the py folder. I get a 404 Not found error.
I installed centos 5.3. gcc and g++ versions are 4.1.2 20080704 (Red Hat 4.1.2-44).How to install a second compiler gcc and g++ of version 4.2 or higher so that both versions of gcc and g++ are available?
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.
I upgraded to 10.04 and noticed that python-hulahop package is nowhere to be found. This package used to be available in previous versions, and according to google it was supposed to be available in 10.04 too until recently: [URL] (this is the actual page that claims the link is erroneous) [URL](this is google cache for the same link that shows the package for lucid)
I'm trying to run Pyjamas Desktop, which requests the hulahop module (in 9.10, the precompiled python-hulahop did not work, but self-compiled version did. Now in 10.04 I can't find the source to compile the package myself either). Did it get replaced? Did it get included into another package?
I'm writing a program in Python that presents a place for the user to input one-line of text (using raw_input). I need, however, as the user types, for certain words to be replaced, even before the user hits enter.
I try to make an animation so you can see what I mean, here the word "pig" gets replaced with "sheep": >I| >I | >I l| >I li| >I lik| >I like| >I like | >I like t| >I like to| >I like to | >I like to e| >I like to ea| >I like to eat| >I like to eat | >I like to eat p| >I like to eat pi| >I like to eat pig| >I like to eat sheep|
Note, the user never typed "sheep", the program replaced "pig" with "sheep" as soon as they finished typing the word "pig". The user did not use "Enter". Is this at all possible in Python?
I'm using centos5 hiab with qmail and apache and i'm trying to install Mailman via: ./configure --prefix=/home/admin/mailman --with-mail-gid=qmail --with-cgi-gid=apache
and I get the error:
***** Distutils is not available or is incomplete for /usr/bin/python ***** If you installed Python from RPM (or other package manager) ***** be sure to install the -devel package, or install Python ***** from source. See sec. 15.1 of the Installation Manual for ***** details
Doing an rpm -qa | grep python yields the following: python-2.4.3-19.el5 libxml2-python-2.6.26-2.1.2
[Code]....
So it seems to me that the only thing I need to is upgrade(new install??) python-devel-2.4.3-19.e15
I have an HP printer and have installed hplip in the hope of resolving some printing problems and having nicer, more consistent print dialog boxes. Unfortunately it wants dbus-python version .80+ and the current version is .70
I'm aware that centos is about stability and I'm guessing that a new version of dbus-python isn't likely to happen until centos 6-- right? So what's the best option? Can I find a newer dbus-python package that works with centos 5.2 or is that defeating the purpose of the OS? Do I have to choose between stability with printing problems and instability with better printing functionality?
I would like to update Python v.2.4 and Numpy to Python v.2.6 and Numpy v.1.3. How can I do it. I heard that we can use "yum update", but I am not sure to do it correctly.
Where can I find SRPMs for the latest python-2.4.3-43 and gcc-4.1.2-50 included in CentOS 5.6? They seems to be missing from centos/5.6/os/SRPMS on all mirrors that I checked...
I have CentOS 5 32 bit and I wish to be able to use Python as it is required by a web script I am installing.The Apache however handles the test Python scripts as text. I have Apache/2.2.3 installed and I followed this tutorial: [URL]installed mod_python, edited the httpd.conf file, restarted the Apache, it restarted ok - no change at all. I tried other suggestions I googled but in vain.
I have tried to install and configure Hudson in centos distro version 5.Installed hudson with tomcat by deploying .war files.after configuration was completed, builded a project.It displayed build was completed successfully.but I was not able to download output of build.
So I rechecked configuration,found that i havent set artifact file pattern to archive. how to set artifact file pattern and how to get build output. how to manage hudson by using configure system and configure options.what is the correct way to configure public hudson?.