Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th April 2005, 11:15 PM
mattmcl's Avatar
mattmcl Offline
Registered User
 
Join Date: Mar 2005
Location: Erie, CO
Age: 44
Posts: 17
[FC3 and FC4 mix is bad] gcc trouble

I'm trying to install kdar. I have gcc installed, but I get this:
Quote:
[matt@localhost ~]$ su -
Password:
[root@localhost ~]# cd /
[root@localhost /]# cd home
[root@localhost home]# cd matt
[root@localhost matt]# cd Desktop
[root@localhost Desktop]# cd kdar-2.0.4
[root@localhost kdar-2.0.4]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
__________________
Erie Scoots Rule!

Last edited by wtogami; 26th April 2005 at 03:41 AM.
Reply With Quote
  #2  
Old 7th April 2005, 11:21 PM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
you don't have gcc installed

type this in the terminal

Code:
rpm -qa | grep gcc
you should get at least this
Quote:
gcc-3.4.2-6.fc3
libgcc-3.4.2-6.fc3
if not the install gcc with yum
as root
Code:
yum install gcc
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #3  
Old 8th April 2005, 03:24 AM
mattmcl's Avatar
mattmcl Offline
Registered User
 
Join Date: Mar 2005
Location: Erie, CO
Age: 44
Posts: 17
I keep getting errors that seem to be catch-22 in nature. Yum did not find gcc so I used apt-get:
Quote:
[root@localhost ~]# apt-get install gcc
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gcc: Depends: cpp (= 3.4.2-6.fc3) but 4.0.0-0.40 is to be installed
E: Broken packages
[root@localhost ~]# apt-get install cpp
Reading Package Lists... Done
Building Dependency Tree... Done
cpp is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 40 not upgraded.
[root@localhost ~]# rpm -qa | grep cpp
cpp-4.0.0-0.40
[root@localhost ~]#
__________________
Erie Scoots Rule!
Reply With Quote
  #4  
Old 8th April 2005, 03:39 AM
fc_jeff's Avatar
fc_jeff Offline
Registered User
 
Join Date: Mar 2005
Location: Cameron Park, CA
Age: 48
Posts: 88
gcc should be on one of the Fedora Core CDs, and can be installed with "Add/Remove Applications", under "System" in the menu system. When the "Add/Remove Applications" window is up, simply look for the development section, and install everything there. This will ensure that gcc is installed, plus all the libraries.

You can also get gcc with yum. It should be a part of the core repository. Make sure your yum.conf (under /etc) has the core repository configured, or that it isn't commented out (with a #).

Then you can check if you have gcc and if it's in your PATH by typing

which gcc

at the command line. If it's there, it will specify the path to gcc.
__________________
"Education: that which reveals to the wise, and conceals from the stupid, the vast limits of their knowledge." - Mark Twain

"What if there were no hypothetical questions?" - George Carlin


:)
Reply With Quote
  #5  
Old 8th April 2005, 03:58 AM
cnarramoore's Avatar
cnarramoore Offline
Registered User
 
Join Date: Mar 2005
Location: Tennessee
Posts: 72
why wouldn't it be installed by defualt? I thought a distro had to have a C complier. Anywho have you tired g++?
Reply With Quote
  #6  
Old 8th April 2005, 05:49 AM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
No, a "typical" home/small office user, wouldn't typically need to install the gcc compiler. The vast majority of packages already are available pre-compiled in RPM format.

It's when you start downloading/installing some "non-generic" software packages that you need the development tools.

And gcc is available as on option during the install process under "Development Tools" if you select a customized install.
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
  #7  
Old 9th April 2005, 03:22 AM
mattmcl's Avatar
mattmcl Offline
Registered User
 
Join Date: Mar 2005
Location: Erie, CO
Age: 44
Posts: 17
I'm still getting mad package dependency problems... I tried to use the add/remove programs utility, it came up with a long list of dependencies, the first of which is gcc-c++. So I try to apt-get that, and get this:

Quote:
[root@localhost matt]# cd '/root'
[root@localhost ~]# apt-get install gcc-c++
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gcc-c++: Depends: gcc (= 3.4.2-6.fc3) but it is not going to be installed
E: Broken packages
[root@localhost ~]# apt-get install gcc
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gcc: Depends: cpp (= 3.4.2-6.fc3) but 4.0.0-0.40 is to be installed
E: Broken packages
[root@localhost ~]# apt-get install cpp
Reading Package Lists... Done
Building Dependency Tree... Done
cpp is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 45 not upgraded.
[root@localhost ~]# apt-get remove cpp
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
cpp firstboot gdm kdeadmin kdebase kdepim linuxwacom system-config-display
xinitrc xorg-x11 xorg-x11-Xnest xorg-x11-Xvfb xorg-x11-tools xorg-x11-xdm
0 upgraded, 0 newly installed, 14 removed and 40 not upgraded.
Need to get 0B of archives.
After unpacking 142MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
[root@localhost ~]#
__________________
Erie Scoots Rule!
Reply With Quote
  #8  
Old 9th April 2005, 05:06 AM
howzer7 Offline
Registered User
 
Join Date: Jan 2005
Posts: 12
Looks like it is tryinf to install version 4.0 (which is part of Core 4) core 3 uses 3.4. Have you selected one of the bleeding edge repositries? I'm am having a similar problem after installing OO 2.0 from core 4 which uses GCC 4 etc.
Reply With Quote
  #9  
Old 9th April 2005, 10:48 AM
wtogami Offline
Registered User
 
Join Date: Mar 2005
Posts: 160
Do not attempt to mix FC3 and FC4 packages. Things will break. Trust me.
Reply With Quote
  #10  
Old 9th April 2005, 02:26 PM
mattmcl's Avatar
mattmcl Offline
Registered User
 
Join Date: Mar 2005
Location: Erie, CO
Age: 44
Posts: 17
Yeah, I followed some bad advice on a web site about adding repos before I knew what I was doing. I can't seem to get those packages off now.
__________________
Erie Scoots Rule!
Reply With Quote
  #11  
Old 12th April 2005, 06:52 PM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
hey mattmcl.....

Got a little snow this past weekend???? LOL......

yeah, adding and mixing repos can cause some major headaches....

rpm -e --force somepackagehere will "usually" clean up that package for you, though you really have to be careful so that you don't remove a package that your system depends on (like "ld"...that would be a bad one to remove).
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
  #12  
Old 25th April 2005, 05:37 PM
mattmcl's Avatar
mattmcl Offline
Registered User
 
Join Date: Mar 2005
Location: Erie, CO
Age: 44
Posts: 17
I ended up nuking the install and starting over. So far everything works- I'm sure it was FC4 stuff mixed in.
__________________
Erie Scoots Rule!
Reply With Quote
  #13  
Old 4th May 2005, 01:25 AM
Tantalus90 Offline
Registered User
 
Join Date: May 2005
Posts: 22
thanx fedorajim and everyone else

solved my problem today

Tant
Reply With Quote
Reply

Tags
gcc, trouble

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum trouble jayrobb Using Fedora 9 14th April 2009 08:12 AM
freezing during screensaver and trouble on reboot + gnome panel trouble bwalsh Using Fedora 0 5th July 2005 02:45 AM
yum gpg trouble Willem Jacobuss Using Fedora 5 22nd March 2005 01:29 AM
If you're having trouble with FC3... taylor65 Linux Chat 2 9th March 2005 01:48 AM


Current GMT-time: 09:31 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat