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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
unable to find gcc
I have recently installed ubuntu 6.06 which was pretty easy to install.
Now i m going to install a program from source. I have extracted zip file and when I want to configure it i get following error:
loading cache ./config.cache
checking for extra include and lib directories...
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
gcc is installed by default on this version of ubuntu and I am able to see it from synaptic.
Distribution: Lots of distros in the past, now Linux Mint
Are you sure you installed gcc, or perhaps just the docs? You should have gcc entries in /usr/bin or similar directory. You might want to reinstall it and see what happens, if you are using unstable, there might have been a bad update. Something is definitely wrong though, because 'gcc -v' should be able to be run from pretty much any distro on the planet.
Also, check your path and make sure your system knows where to look for programs, but if locate doesn't have anything in /bin or /usr/bin, it's likely it's not installed properly.
EDIT: Actually, now that I hit post, it looks like openoffice or something needs a certain gcc library to run, and that's all that got installed. Or perhaps you need to install gcc-dev or something. Haven't spent much time with Ubuntu, sorry.
icosohedran20 is correct. Ubuntu does NOT come with gcc installed. You have to actually go to the Synaptic PAckage Manager and install it there from the Ubuntu CD. I was a little upset when I thought that Ubuntu didn't come with the gcc compiler. Then, I found that it just wasn't installed after reading a post on LQ.
The package to install is called something like 'build-essentials'. It will install gcc, glibc, the pre-compiler (I don't know either) and a bunch of other stuff. If you just install gcc, you may find other bits missing.
I haven't had any problems as of yet with anything being missing but that might be a good idea for me too. It's possible though that I have needed to install it at some point, have done so, and forgotten about it.