LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2011, 05:15 PM   #1
fshinault
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Post Yes, Big Time Newbie


Installed Oracle Virtul Box, and then installed CentOS 5, have been mesing around with command and moving around the terminal. Planning on taking Linux+, just trying to get my feet wet. I'm also trying to play with Python Programming, but I'm unable to get it installed. I downloaded the tar file, and unzipped the thing, but when I try the ./configure it's giving me this,

[root@localhost Python-3.2]# ./configure
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking machine type as reported by uname -m... i686
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/Python/Python-3.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
[root@localhost Python-3.2]# make
make: *** No targets specified and no makefile found. Stop.
[root@localhost Python-3.2]# make test
make: *** No rule to make target `test'. Stop.
[root@localhost Python-3.2]# sudo make install
make: *** No rule to make target `install'. Stop.
[root@localhost Python-3.2]# gcc
bash: gcc: command not found
[root@localhost Python-3.2]# pwd
/home/Python/Python-3.2
[root@localhost Python-3.2]# gcc
bash: gcc: command not found

Need help I'm ASSuming that I need to install a C compiler, but I'm struggling, any help would be appreciated,

Thanks,
 
Old 04-02-2011, 05:30 PM   #2
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
just change the title! be descriptive people
duh!

sugestion for thread title : "error while trying to compile.. ./configure fails"
 
Old 04-02-2011, 08:29 PM   #3
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 360

Rep: Reputation: 40
Cheers and welcome to Linux!

You have to install a C compiler (gcc). Install the gcc package through Yum or Aptitude. Then re-run the configure script. You'll probably get some more errors because you'll probably also need your kernel's header files also but you can work on that after installing gcc.
 
Old 04-08-2011, 12:39 PM   #4
vineet5289
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
problem

how i install gcc compiler. how i build & run c program in fedora 14
 
Old 04-08-2011, 12:40 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,184

Rep: Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584
Quote:
Originally Posted by vineet5289 View Post
how i install gcc compiler. how i build & run c program in fedora 14
Dont hi-jack a thread.

Start your own. (yum install gcc -y; gcc program.c)

Last edited by szboardstretcher; 04-08-2011 at 12:41 PM.
 
Old 04-09-2011, 06:48 AM   #6
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
In CentOs there should be no need to compile python.

Try
Quote:
yum search python
before you try to compile it on your own.

Also try
Quote:
man yum
to learn about the yum options;

Yum provides "meta-packages" to install complete sets of software, I guess there is one for a building enviroment, too
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use Big O, Big Omega, and Big Theta to find running time of algorithms naveed17 Programming 3 03-17-2011 10:25 AM
Big Time Newbie & Sendmail CrazyCol Linux - Newbie 1 05-31-2005 02:15 PM
I am a big time newbie. No video output for X Windows. Help. sabaka Linux - Software 8 09-07-2003 11:33 AM
Newbie a la Big Time saying Hi and small question Jadasin Linux - General 1 07-26-2001 06:04 PM


All times are GMT -5. The time now is 02:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration