Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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,
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 386
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.