PDA

View Full Version : [SOLVED] installing gcc on Fedora 13


UK2
17th April 2010, 07:50 PM
hello,

I have just installed the Fedora 13 Beta and updated.

However, I would like to install gcc.

sudo yum install gcc

I get the following errors:
error: Package: gcc-4.4.3-12.fc13.i686 (fedora)
Requires: libgomp = 4.4.3-12.fc13
Installed: libgomp-4.4.3-16.fc13.i686 (@updates-testing)
Available: libgomp-4.4.3-12.fc13.i686 (fedora)

I never had this problem on Fedora 12.

Many thanks for any suggestions on how to install gcc,

SlowJet
17th April 2010, 08:22 PM
http://lists.fedoraproject.org/pipermail/devel/2010-April/thread.html

Looks like you have updated the f13-branched wih the f13-testing - i.e. you should not be using updates-testing to keep your alpha/beta stable.

Also, yum did not write that error message so what actually wrote it to you console/terminal.

Since you already have updates-testing going then try

yum clean all
yum check-update --enablerepo=updates-testing

and see if you get gcc 16 packages.

SJ

bob
17th April 2010, 08:33 PM

(moved to F13 Development)

SlowJet
17th April 2010, 11:38 PM
http://lists.fedoraproject.org/pipermail/devel/2010-April/134893.html

gcc -16 was pushed late today for f13branched.
s/b able to just do an
yum update gcc

SJ

UK2
18th April 2010, 04:53 AM
Problem solved.

This is what I did:
rpm -qa | grep libgomp

I then removed the following:
rpm -e libgomp-4.4.3-16.fc13 --nodeps

And installed gcc.
yum install gcc --enablerepo=fedora

I noticed when I installed I get a mixture of updates-testing and fedora is that normal?

================================================== ================================================== ================================================== =======
Package Arch Version Repository Size
================================================== ================================================== ================================================== =======
Installing:
gcc i686 4.4.3-12.fc13 fedora 8.1 M
Installing for dependencies:
cloog-ppl i686 0.15.7-1.fc12 fedora 81 k
cpp i686 4.4.3-12.fc13 fedora 3.4 M
glibc-devel i686 2.11.90-18 updates-testing 959 k
glibc-headers i686 2.11.90-18 updates-testing 595 k
kernel-headers i686 2.6.33.2-41.fc13 updates-testing 754 k
libgomp i686 4.4.3-12.fc13 fedora 103 k
ppl i686 0.10.2-10.fc12 fedora 1.1 M

SlowJet
18th April 2010, 05:04 AM
Well fedora is always enabled - that's the main repo.

updates-testing is for new updates for f13-testing.

anything released for f13-branched goes straight into fedora.

If that has changed for beta+, I didn't see the message.
But updates are up to you as it approaches release, and the last beta push will point f13 to the correct repos.

SJ