Problems with gcc


 
Thread Tools Search this Thread
Operating Systems Linux Problems with gcc
# 1  
Old 05-27-2011
Tools Problems with gcc

Hello
I'm not able to install gcc.
My platform is
Code:
[root@localhost ~]# uname -a
Linux localhost 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
#yum install gcc
I got the following error
---> Package libgfortran44.x86_64 0:4.4.4-13.el5 set to be updated
---> Package libgnat.x86_64 0:4.1.2-50.el5 set to be updated
---> Package libgomp.x86_64 0:4.4.4-13.el5 set to be updated
---> Package libobjc.x86_64 0:4.1.2-50.el5 set to be updated
---> Package libstdc++.x86_64 0:4.1.2-50.el5 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-50.el5 set to be updated
---> Package libstdc++44-devel.x86_64 0:4.4.4-13.el5 set to be updated
--> Running transaction check
---> Package glibc.x86_64 0:2.5-58.el5_6.3 set to be updated
--> Processing Dependency: glibc-common = 2.5-58.el5_6.3 for package: glibc
---> Package glibc-headers.x86_64 0:2.5-58.el5_6.3 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
--> Processing Dependency: glibc-common = 2.5-49 for package: glibc
---> Package glibc-common.x86_64 0:2.5-58.el5_6.3 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-238.9.1.el5 set to be updated
--> Finished Dependency Resolution
glibc-2.5-49.i686 from installed has depsolving problems
  --> Missing Dependency: glibc-common = 2.5-49 is needed by package glibc-2.5-49.i686 (installed)
Error: Missing Dependency: glibc-common = 2.5-49 is needed by package glibc-2.5-49.i686 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Please provide some help. . .Smilie

Last edited by Scott; 05-27-2011 at 02:30 AM.. Reason: Code tags
# 2  
Old 05-30-2011
I don't know when version 2.5-49 of glibc-common was compiled, but I see the earliest version of version 2.6 is dated 17-May-2007 (at ftp.gnu.org). The current version is 2.13.

The problem with not keeping your system up-to-date is that at some point, your repository maintainers will assume nobody wants old versions any more and will delete them to free up disk space for new versions.

You may be able to get away with just yum update. If that doesn't work you should upgrade your whole system.

Linux keeps getting better. Smilie Upgrading is advantageous.
# 3  
Old 06-10-2011
What distro do you use ?
'Cause from terminal out put it seems like it is a bit out of date
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Problems to install gcc 7.2 on AIX 7.2

We need gcc 7.2 on AIX 7.2 and so I tried to install the rpm package from IBM (<https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html>) The steps were as follows (I downloaded all packages from the given IBM toolbox page): # :-)rpm -ihv gcc-7.2.0-1.aix7.2.ppc.rpm error:... (2 Replies)
Discussion started by: BuSchu
2 Replies

2. Programming

Help with gcc programming

I need a lot of help with c programming. I have the source code. Running configure, I got one error message about a missing library. I downloaded and successfully compiled it in another dir. Do I throw all the new files into my source dir and run configure again ? Thanks. (3 Replies)
Discussion started by: drew77
3 Replies

3. UNIX for Dummies Questions & Answers

Help with gcc and g++

Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
Discussion started by: vishal.973s
5 Replies

4. UNIX for Advanced & Expert Users

GCC 4 error.

Hello, dont know much about C, or gcc, but I am trying to compile a program that built fine in gcc3, but is outputting errors in gcc4, int load_REs(char *, char ); #this line is causing the error DB_Query.h:22: error: array type has incomplete element type any help would be appreciated. (3 Replies)
Discussion started by: mike171562
3 Replies

5. AIX

problems with gcc on AIX 4.33

I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it. Thanks in advance for your help! # gcc -v Reading specs from... (2 Replies)
Discussion started by: jhall
2 Replies

6. UNIX for Dummies Questions & Answers

GCC causing problems it seems.

Hi, I seem to be getting errors in relation to GCC it seems as I cant upgrade alot of pkgs until I can upgrade or use a later version of GCC. The error I get is along the lines of ( cc1: error: unrecognized command line option "-Wno-pointer-sign" *** Error code 1 ) Anyway I was wondering if... (2 Replies)
Discussion started by: Browser
2 Replies

7. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

8. SCO

Problems with gcc compiler

Hy everone! I have an old SCO 5.x machine on which I want to install openssh. Since there was no GCC compiler installed I had to install that too. I'm not a programmer and not so familiar with SCO, so I have a couple of questions. I did everything "by the book" as it says here: Where can I... (1 Reply)
Discussion started by: veccinho
1 Replies

9. Programming

Gcc

Dear all, Any body please guide, i require a C which will run in Linux environment. Its urgent please. warm regards, Senthil K (1 Reply)
Discussion started by: Senthil
1 Replies

10. Solaris

gcc problems

I downloaded and installed the gcc binaries recently. I am now trying to compile openssh, but I get bad compiler issues when I try this. in the openssh directory, I run: ./configure (mind you, I have usr/local/bin/gcc in my PATH) but the output says checking for gcc... no Why... (7 Replies)
Discussion started by: AJA
7 Replies
Login or Register to Ask a Question