Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
I am installing amber12 in Centos 5.7 in AMD 64bit. The installation stops and enquiring gcc-4.3.1 for other related software to be complied and by default Centos 5.7 shipped with gcc-4.1.2.
I tried to google how to uninstall gcc-4.1.2 and install gcc-4.3.1 but I could not find any direct way.
I tried to install using yum install gcc44, but after installation I tried to use gcc -v and it says gcc-4.1.2 still.
So I need help here to install complete package of gcc-4.3.1.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Agreed .... gcc44 will do for any application.
And : You should never remove the system compiler :
You can have as many versions of gcc / g++ as you want,
installed at the same time.
To get the complete "gcc44" : # yum install gcc44-c++
Using : export CC=gcc44 CXX=g++44 && <other-command>
Thanks for the reply. You wrote " export CC=gcc44 CXX=g++44 && <other-command> ". Shall I export the line including the phrase 'other-command' in < > or else I need to provide any command? Because I am not Linux expert and I just trying to fix the problem by some help by experts in this forum.
I have done as prescribed in the website provided by acid_kewpie and followed as kudfl and get this message
Quote:
Searching for python2... Found python2.4: /usr/bin/python2.4
Obtaining the gnu suite version:
gcc -v
The version is 4.1.2
ERROR: RISM and PBSA FFT solver require version 4.3 or higher of the GNU compiler.
Please re-run configure with the '-nofftw3' flag to use this compiler:
./configure -nofftw3 gnu
Configure failed due to the errors above!
Hi I tried both the ways you suggested but no avail.
The results are as below.
[root@gpucc amber12]# ./configure gnu
Checking for updates...
AmberTools12 is up to date
Amber12 is up to date
Searching for python2... Found python2.4: /usr/bin/python2.4
Obtaining the gnu suite version:
gcc -v
The version is 4.1.2
ERROR: RISM and PBSA FFT solver require version 4.3 or higher of the GNU compiler.
Please re-run configure with the '-nofftw3' flag to use this compiler:
./configure -nofftw3 gnu
Configure failed due to the errors above!
note:
Is that possible for completely uninstall gcc-4.1.2 and install gcc44?
I just wanted to update on this issue. I used 'yum remove gcc' to remove all gcc including gfortran.
Then I installed gcc44 and gfortran4.4 separately using yum. After that I created symbolic link to gcc => gcc44 and gfortran => gfortran4.4. Finally I installed g++ and used the same type of link. Finally I tried to compile and it went through smoothly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.