Ask Your Question
0

whats problem with this in my fedora 18 gcc compiler. "Error: Package: gcc-cris-linux-gnu-4.7.1-0.1.20120606.fc18.1.x86_64 "

asked 2013-09-19 21:17:36 -0600

Sundyp Krishna gravatar image

updated 2013-09-20 00:44:18 -0600

FranciscoD_ gravatar image
Error: Package: gcc-cris-linux-gnu-4.7.1-0.1.20120606.fc18.1.x86_64 (fedora)
       Requires: cross-gcc-common = 4.7.1-0.1.20120606.fc18.1
       Available: cross-gcc-common-4.7.1-0.1.20120606.fc18.1.noarch (fedora)
           cross-gcc-common = 4.7.1-0.1.20120606.fc18.1
       Installing: cross-gcc-common-4.8.1-5.2.fc18.noarch (updates)
           cross-gcc-common = 4.8.1-5.2.fc18

when i used to check whether gcc installed completely like "yum install gcc*" it shows error like this.. is this could be a problem??

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-09-20 00:01:14 -0600

nonamedotc gravatar image

Well, the conflict here is that gcc-cris-linux package needs a older version whereas yum is trying to install a newer version of cross-gcc-common.

I saw in koji that gcc-4.8* version is available only for F19 upwards whereas cross-gcc-4.8* is available for F18 also. This is the origin of the conflict.

There are probably two ways to address this issue -

  1. Exclude the gcc-cris-linux package from your installation either by installing only those modules of gcc you need instead of using gcc* -- OR -- by using exclude tag.
  2. The other alternative is to not update to the latest package of cross-gcc. You can manually install a older version of the package and exclude cross-gcc from updating.

Unfortunately, I do not know the functionality provided by these packages. So, you are the best judge on which versions would be useful to you.

Hope this helps.

edit flag offensive delete link more
0

answered 2013-09-20 04:04:38 -0600

pnadk gravatar image

updated 2013-09-20 07:51:40 -0600

yum info says cross-gcc-common is for building a kernel for a different architecture. Is that what you are trying to do? If not, then remove the package(s). If you are going to compile programs for a different target (cross compiling) then visit crosstools or maybe crosstools-ng website for lots of information about how to do that.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-19 21:17:36 -0600

Seen: 825 times

Last updated: Sep 20 '13