|
[Sponsors] |
June 9, 2010, 18:58 |
Help needed: building 1.5.x on Lucid
|
#1 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
I have been writing a code extension for my thesis using OpenFOAM 1.5.x. With a recent OS upgrade (to Kubuntu 10.04) I am no longer able to compile my code. I have tried recompiling OF 1.5.x and have not been successful. I have been able to successfully compile 1.6.x using the great scripts provided by members of the community here, but unfortunately my solver does not appear to be compatible with the latest version of OF.
I have uploaded a make log of my attempted 1.5.x build at http://smrkal.com/make.log. I would very much like to get this installed again so I can get this troublesome thesis wrapped up. Any help and insights are greatly appreciated. |
|
June 10, 2010, 15:10 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Scott,
I was stumped at first too, but I managed to isolate the problem: somewhere in time, the people responsible for the libc6 libraries seem to have made an option to add a new type of definition "__USE_XOPEN2K8" and getdelim got under that very same definition, instead of "__USE_GNU". So, the fix, which will at least allow building OpenFOAM 1.5 and 1.5.x is this:
Best regards, Bruno
__________________
|
|
June 10, 2010, 19:37 |
|
#3 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
I am glad there are people in this world with eyes keen enough to catch something like that. I am currently compiling and things appear to be going well. I'll report back after it is done and I have had a chance to try compiling my code and running it.
|
|
June 10, 2010, 22:01 |
|
#4 |
Member
Scott Ripplinger
Join Date: Mar 2009
Posts: 30
Rep Power: 17 |
Well, it looks like things are working. The compile of the complete 1.5.x package had some errors, but it was only a few and hopefully with packages I don't need. It kind of looks like it doesn't like my installation of Qt (version 4.6.2). My custom code was able to compile, though. So it's back to just debugging that. Thanks for your help! Hopefully I won't be back too soon
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solar Radiation in OpenFOAM | plainstyle | OpenFOAM Running, Solving & CFD | 15 | July 8, 2014 04:43 |
New building machine for OpenFoam | gerbervdgraaf | OpenFOAM Installation | 23 | December 9, 2009 02:39 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 03:14 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 04:55 |
Urgent help needed for meshing in GAMBIT | John | FLUENT | 3 | September 4, 2002 09:08 |