LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2003, 01:13 AM   #1
sykopath
LQ Newbie
 
Registered: Jul 2003
Location: Wallapatookunk, Kallamazoo
Distribution: RedHat
Posts: 27

Rep: Reputation: 15
Weird problem encountered while trying to install GCC


Okay, I'm trying to get GCC 3.3 on a Mandy box.

When I tried to configure to prep for install, I got the
Code:
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
message.

I looked up the forums and saw the export command solution, but it didn't work.

Did a rpm -q gcc, and bash told me gcc was not installed.

So I went to rpmfind and downloaded the gcc-3.2-6mdk.x86_64.rpm package, which I ran, and a message box told me that everything was already installed.

Then I performed another rpm -q gcc. Not installed.

What am I doing wrong?
 
Old 08-06-2003, 08:37 AM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
try this:

rpm -qa | grep gcc

does that give you anything? I'm just thinking that 'gcc' alone isn't the full name of the package, so your other command would show 'gcc ' (rather than gcc-whatever-XX) as not installed.
 
Old 08-06-2003, 07:57 PM   #3
sykopath
LQ Newbie
 
Registered: Jul 2003
Location: Wallapatookunk, Kallamazoo
Distribution: RedHat
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for the reply.

Code:
libgcc1-3.2.2-3mdk
gcc-cpp-3.2.2-3mdk
Strange. so the gcc-3.2-6mdk.x86_64.rpm has not been installed. But why did it say that everything has been installed?

Last edited by sykopath; 08-06-2003 at 08:04 PM.
 
Old 08-08-2003, 03:08 AM   #4
sykopath
LQ Newbie
 
Registered: Jul 2003
Location: Wallapatookunk, Kallamazoo
Distribution: RedHat
Posts: 27

Original Poster
Rep: Reputation: 15
Okay, when I do a rpm -q gcc on a friend's machine, it returns
Code:
gcc-3.2.2-3mdk
I have
Code:
gcc-cpp-3.2.2-3mdk
when I do a rpm -qa | grep gcc.

What's the difference between the two?

And why does the gcc-cpp-3.2.2-3mdk not show up when I do a plain rpm -q gcc?

More importantly, how do I rectify the problem?
 
  


Reply



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
Problem encountered during dovecot installation. vivaspeed Linux - Networking 1 07-12-2005 01:38 AM
problem encountered after changing hostname thanhvn Linux - Software 6 07-08-2005 01:36 AM
Encountered the problem as compiling the glibc-2.3.5 amaolei Linux - Laptop and Netbook 1 05-02-2005 08:12 AM
problem encountered on installing qpopper robrey13 Linux - Newbie 3 12-03-2004 04:34 AM
First problem encountered... minotaur_6 Linux - Newbie 2 02-01-2004 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 AM.

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
Open Source Consulting | Domain Registration