LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Yes, Big Time Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/yes-big-time-newbie-872623/)

fshinault 04-02-2011 05:15 PM

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,

silvyus_06 04-02-2011 05:30 PM

just change the title! be descriptive people
duh!

sugestion for thread title : "error while trying to compile.. ./configure fails"

thund3rstruck 04-02-2011 08:29 PM

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.

vineet5289 04-08-2011 12:39 PM

problem
 
how i install gcc compiler. how i build & run c program in fedora 14

szboardstretcher 04-08-2011 12:40 PM

Quote:

Originally Posted by vineet5289 (Post 4318246)
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)

heinblöd 04-09-2011 06:48 AM

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


All times are GMT -5. The time now is 09:43 AM.