Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
my current version of gcc is "gcc version 3.4.6 20060404 (Red Hat 3.4.6) I need to upgrade to v41.2. I downloaded the rpms for RedHat v4 2.6.9-100.ELsmp. I executed rpm -ivh gcc4-c++-4.1.2-44.EL4_8.1.x86_64.rpm, gcc4-java-4.1.2-44.EL4_8.1.gcc4-gfortran-4.1.2-44.EL4_8.1.x86_64.rpm, x86_64.rpm, libmudflap-devel-4.1.2-44.EL4_8.1.x86_64.rpm. Each time the system returns that the rpm is already installed. no errors occurred duringhte install. yet gcc -v indicates that gcc is still at v3. ANy help.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
The "gcc4-c++-4.1.2-44.EL4_8.1" is not an update : Is an extra compiler.
Providing /usr/bin/gcc4 , /usr/bin/g++4 : 'gcc4 -v' and 'g++4 -v' will work.
( You can have as many different compilers as you want, installed at the same time.)
Using the gcc4 compiler, examples :
1) export CC=gcc4 CXX=g++4 && ./configure && make
from your first post is looks like rhel4 ( 4.9 is the current 4 )
the 4 series is hitting end of life soon . the current version is RHEL 6.1
for major version upgrades you do a clean new install -- you are 2 major versions out of date
now the current 4 series is 4.9 and still supported ( soon to be at End Of Life)
the only way is to install a newer os
Like the current rhel 6.1 ( that will install gcc 4.4 )
Quote:
Is there an upgrade /update to gcc3.4.6?
in rhel4 -- NO
you can install a thired party build of a bit newer one ( side by side) but there is NO rhel4 "upgrade"
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Quote:
Is there an upgrade /update to gcc3.4.6 ?
No. And there is no reason for an update of the system compiler.
( Which should never be changed.)
Except for bug fix updates. # 'yum install gcc-c++' etc. takes care of that.
( # yum update <package> ).
( The latest is gcc-3.4.6-11.el4_8.1.i386.rpm, gcc-c++-3.4.6-11.el4_8.1.i386.rpm,
gcc-g77-3.4.6-11.el4_8.1.i386.rpm ( 14-Jan-2010 )).
If you really want a contemporary OS, it's SL6 / EL 6 like said in post # 4.
The free version is Scientific Linux SL6 http://www.scientificlinux.org/
Ok, thanks to all. Useful info from all. Unfortunately I'm stuck in RHv4 land until the application vendor upgrades their app. "Legacy application" is a neat way of saying old crap. But we press on. In one year Linux goes the way of the dinosaur and so do I, replaced by Windows in the cloud.
Last edited by bstafford51; 07-07-2011 at 08:28 AM.
In one year Linux goes the way of the dinosaur and so do I, replaced by Windows in the cloud.
i would not want your job in a year
replacing red hat with windows
going from a solution that NEVER crashes( rhel) to one that ALWAYS crashes ( windows )
Quote:
I'm stuck in RHv4 land until the application vendor upgrades their app
?? that is like waiting for MS to "upgrade" winXP software to win7 versions -- that is not going to happen.
the reason you are using ( and installed )RHEL4 ,back 5 years ago, was the 7 year support .
with NO MAJOR changes and only the SECURITY fixes
it is VERY stable .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.