|
[Sponsors] |
March 23, 2010, 13:45 |
problem installing gcc
|
#1 |
Senior Member
|
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. Thanks |
|
March 24, 2010, 02:08 |
|
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
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? |
|
March 24, 2010, 02:59 |
|
#3 | |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Ahmed,
Quote:
__________________
Regards, Gijs |
||
March 24, 2010, 04:38 |
|
#4 |
Senior Member
|
||
March 24, 2010, 05:40 |
|
#6 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
This is strange. I don't see such a version in the release list for ubuntu. (https://wiki.ubuntu.com/Releases). If you made a typo and instead of 9.1 you meant 9.10, then this is the latest version and you should not worry about it. I would actually expect openfoam to work with the compiler included with the distribution.
|
|
March 24, 2010, 07:05 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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 |
|
March 24, 2010, 11:12 |
|
#8 | |
Senior Member
|
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. |
||
March 24, 2010, 11:42 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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 |
|
Tags |
gcc gmp mpfr |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Problem on Installing OpenFOAM 1.6 on Fedora 11 | lzgwhy | OpenFOAM Installation | 1 | August 25, 2009 11:02 |
Problem installing ParaView3.3-cvs | peterhuang | OpenFOAM Installation | 7 | June 10, 2009 03:43 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |