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, |
just change the title! be descriptive people
duh! sugestion for thread title : "error while trying to compile.. ./configure fails" |
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. |
problem
how i install gcc compiler. how i build & run c program in fedora 14
|
Quote:
Start your own. (yum install gcc -y; gcc program.c) |
In CentOs there should be no need to compile python.
Try Quote:
Also try Quote:
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. |