problem installing gcc
hello every one
i was trying to install open FOAM. after installation it asked me to install gcc third party due to environment problem. the gcc-4.3.3 asked me to install gpm and mpfr. when i wrote this command $ /home/ahmed/OpenFOAM/ThirdParty-1.6/gmp-2.4.1/configure then $ make it told me that maint.mk isn't exist. same thing when i wrote $ make installation again the same thing has happened when i did this with mpfr.:confused: Thanks |
It may be the case where your system is too old to accept an installation of the lastest gcc compiler. I experienced something similar on a cluster with CentOS 4.5.
What operating system do you have? |
Hi Ahmed,
Quote:
|
Quote:
|
gmp-2.4.1 mpfr-4.2.4
|
Quote:
|
Greetings ahmed,There is a script in the ThirdParty folder named makeGcc. It will compile gmp, mpfr and gcc for you. Just run with:
Code:
./makeGcc gcc-4.3.3 Best regards, Bruno |
Quote:
/home/ahmed/OpenFOAM/ThirdParty-1.6/makeGcc gcc-4.3.3 it gave me /home/ahmed/OpenFOAM/ThirdParty-1.6/gmp-4.2.4/maint.mk: No such file or directory make: *** No rule to make target `/home/khattab/OpenFOAM/ThirdParty-1.6/gmp-4.2.4/maint.mk'. Stop. Finished building gmp. |
Greetings ahmed,
OK, there have been reports (here is one of them) in the past about missing files; these seem to occur due to some weird bugs when unpacking the ThirdParty-1.6.General.tgz file. So, you should try unpacking it again and see if the missing file appears. If not, download the ThirdParty-1.6.General.tgz file again and check it with md5sum after the download is complete, and compare with the value available on the OpenFOAM download page. Best regards, Bruno |
All times are GMT -4. The time now is 09:03. |