problems with the ./configure part, installing gcc-3.4.4
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.
problems with the ./configure part, installing gcc-3.4.4
i am trying to install gcc 3.4.4
I am running mandrake 10.1
[root@localhost gcc-3.4.4]# ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2339: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler
1) You should, as a general rule, not be running as "root." Put yourself in the "sudoers" file and (when you get to the "make install" step) use sudo make install.
2) As the error message said, you need to have a working compiler before you can compile anything, even your compiler.
So, how can you get a working compiler? The simplest way is to use the "update" tools that come with your distribution, for example, apt, rpm, etc. to install a compiler. (I don't use Mandrake, so I can't be specific. Ask in the Mandrake/Mandiva forum here if you need more help.)
and gotta ask why you want to compile gcc in the first place? are you aware that there is no need to do this at all? gcc is already on your distro cd's as an rpm.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.