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

7th April 2005, 11:15 PM
|
 |
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.
|

7th April 2005, 11:21 PM
|
 |
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
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
__________________
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?
|

8th April 2005, 03:24 AM
|
 |
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!
|

8th April 2005, 03:39 AM
|
 |
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
:)
|

8th April 2005, 03:58 AM
|
 |
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++?
|

8th April 2005, 05:49 AM
|
|
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?
|

9th April 2005, 03:22 AM
|
 |
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!
|

9th April 2005, 05:06 AM
|
|
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.
|

9th April 2005, 10:48 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 160

|
|
|
Do not attempt to mix FC3 and FC4 packages. Things will break. Trust me.
|

9th April 2005, 02:26 PM
|
 |
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!
|

12th April 2005, 06:52 PM
|
|
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?
|

25th April 2005, 05:37 PM
|
 |
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!
|

4th May 2005, 01:25 AM
|
|
Registered User
|
|
Join Date: May 2005
Posts: 22

|
|
thanx fedorajim and everyone else
solved my problem today
Tant
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:31 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|