LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-22-2002, 02:17 PM   #1
oudent
Member
 
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.

Thanks

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

Rep: Reputation: 58
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 www.rpmfind.net 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.

Cheers,

Finegan
 
Old 04-22-2002, 08:50 PM   #3
oudent
Member
 
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
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
 
  


Reply


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 03:42 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
An Interesting question about a fresh install gamehack Debian 5 01-27-2004 03:04 PM
RH 8.0 interesting install issue Risc91 Linux - Distributions 5 10-04-2002 10:36 AM
An interesting rh 7.2 install problem Rotten Deadite Linux - Newbie 3 04-09-2002 05:03 PM


All times are GMT -5. The time now is 09:29 PM.

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