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.
The linux is really driving me nuts.
I try to install the GCC 3.2.3, but it want me to have GCC or CC installed.
Isn't this funny, if I have GCC installed, why do I bother to install it.
I try to install it using apt-get, but everytime it sotpped at setting up and no gcc programm installed actually. Is there someway to reinstall the apt-get? I'm usting debian I think.
Is there someone can save me from this hell?
Thanks a lot!
javelina:/home/peng/Desktop/gcc-3.2# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/peng/Desktop/gcc-3.2 using "mt-frag"
./configure: line 7: gcc: command not found
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
This is what happened when I try to apt-get the GCC
javelina:/home/peng/Desktop/gcc-3.2# apt-get install gcc
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
autoconf automake libtool flex bison gdb gcc-doc
The following NEW packages will be installed:
gcc
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/4906B of archives.
After unpacking 28.7kB of additional disk space will be used.
Selecting previously deselected package gcc.
(Reading database ... 91540 files and directories currently installed.)
Unpacking gcc (from .../gcc_4%3a3.3.5-3_i386.deb) ...
Setting up gcc (3.3.5-3) ...
javelina:/home/peng/Desktop/gcc-3.2# gcc
bash: gcc: command not found
try getting and installing the latest version instead.. not that this will solve your problem, although possible, but you should always have the latest _stable_ version of any peice of software. also check the gcc site for 3rd party binaries, maybe, which are made for your distro.
or lastly, read fully the documentation, if not already. specifically, at least, about the configuration part: here
youll need a compiler to compile the compiler (lol, sorry for that).
I try to install the GCC 3.2.3, but it want me to have GCC or CC installed.
Isn't this funny, if I have GCC installed, why do I bother to install it.
Yeah if you want to install GCC from source you have to do follow instructions from the GCC site about doing a special 'bootstrap install'. Unless you're a masochist or really want to compile everything yourself trying to build important system components like this is a long and difficult and very error prone process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.