Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 04-22-2002, 01:17 PM   #1
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Rep: Reputation: 30
Can't install anything interesting withoug GCC

[Problem Solved Already, thanks] Or Maybe not. See Below

I've been trying for days now to install a range of programs, and they all say to run ./configure
Thats not a problem to do, but unfortunately it keeps on telling me it can't find the command cc
I've looked everywhere, and people just expect you to have it installed it seems, but I can't find anything about it on my RedHat7.2 cds or anything. I also been trying to install the GNU c compiler (gcc) but I'm having trouble actually finding it, and the versions I've found all depend on having a compiler already it would seem.

Please help, I am really new to this, I know most of the simple commands, but I don't know how to close X and I don't know how to extract .bz2 archives, though I knew how to do just a few days before exams started Please help.

I figure it can't be hard since it would seem that everyone already has it.


Last edited by oudent; 04-22-2002 at 07:52 PM.
Old 04-22-2002, 03:34 PM   #2
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
With the problem solved already part, I assumed you meant the gcc and cc problem... for the others... anything left? Getting out of X, Gnome or KDE? Also, RH 7.2 shipped with a compiler that is fine for most things, but a bit of a headache for others. gcc 2.96 worked fine for me with multiple kernels, but coughed and died on Mplayer for instance. You may want to use and snag gcc 2.95-4, although I've heard the 3.0s stopped being buggy and grumpy after 2. If you posted "problem solved" because you started using RPMs... well, sometimes its just hard to beat compiling from source.


Old 04-22-2002, 07:50 PM   #3
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
Well, you were right that only one part of my post was solved. Now I have another problem, when I type 'make' it just tells me a whole bunch of files can't be found:

make all-recursive
make[1]: Entering directory 'the directory it was in'
bla bla bla
until it gets to this:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -02 -c audio.c
In file included from /usr/include/sys/ioctl.h:27, from audio.c:22:
/usr/include.bits/ioctls.h:24:24: asm/ioctls.h: No such file or di

and then its error after error. Maybe I didn't install gcc right, because it warned that there were things missing from the install, but they were things I know I had installed earlier (maybe not the same version though) and I couldn't find the required parts on the RedHat CD's


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting Install Situation Bigun Linux - Newbie 3 08-17-2005 02:42 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
An Interesting question about a fresh install gamehack Debian 5 01-27-2004 02:04 PM
RH 8.0 interesting install issue Risc91 Linux - Distributions 5 10-04-2002 09:36 AM
An interesting rh 7.2 install problem Rotten Deadite Linux - Newbie 3 04-09-2002 04:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration