View Issue Details

IDProjectCategoryView StatusLast Update
0001116OpenFOAMBugpublic2015-01-03 19:48
Reporterwyldckat Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSFedoraOS Version20
Summary0001116: Heads up on building OpenFOAM on Fedora 20
Description1. The group 'Development Tools' has been split off into 2 on Fedora 20 (then again, perhaps in Fedora 19?), where the new group is named 'C Development Tools and Libraries':

  yum groupinstall 'C Development Tools and Libraries'

This group provides "g++", "flex", "bison" and so on.

2. The group 'Development Tools' provides git and patch/diff utilities.

Additional InformationCurrently still testing building on Fedora 20. Will comment later if there are any further necessary changes.
TagsNo tags attached.

Activities

wyldckat

2013-12-25 20:08

updater   ~0002705

Finished building and testing on Fedora 20 x86_64. All that was missing was the reported group for "yum".
It wasn't even necessary any hack made to scotch, as it was needed for Ubuntu 13.10...

wyldckat

2014-03-01 22:56

updater   ~0002917

Built OpenFOAM 2.3.0 in Fedora 20 without any problems. Used CGAL 4.3 from the ThirdParty folder and with Fedora's Boost and GCC.

I'm referencing this here also because of issue #1196: http://www.openfoam.org/mantisbt/view.php?id=1196 - Fedora 20 uses GCC 4.8.2 by default, so whatever issue I got that lead to the other bug report, was due to something gone weird in the custom builds of GCC 4.8.2 that I got.

user871

2014-03-02 16:00

  ~0002919

Last edited: 2014-03-02 16:03

Indeed. Perhaps for your custom built GCC 4.8.2,you could try preloading in the dynamic linker your own version of libstdc++.so:

export LD_PRELOAD=/path/to/your/custom/gcc-4.8.2/lib/libstdc++.so

then:
cd $WM_THIRD_PARTY_DIR
./Allwmake

As I managed to successfully build it in RHEL 6.3 with a custom GCC 4.8.2 too, I guess this omission has been causing you trouble.

I would reply to your other, more relevant issue but it was already closed.

wyldckat

2014-03-02 22:29

updater   ~0002920

@George: on the CGAL topic: Tried your suggestion of using the preload in another new VM with CentOS 6.5, on another real machine (using AMD and not Intel this time) and still the same problem occurred with the custom GCC 4.8.2.

Whatever it is, it's something to do with the build options. If I can find anything else worth while reporting, I'll open a report on the CGAL bug tracker, as this does seem to be something related to CGAL and not OpenFOAM.

wyldckat

2014-12-29 12:21

updater   ~0003388

On the topic of custom built GCC 4.8.2: I've tested this again recently with GCC 4.8.4 and no longer had any problems. Looks like that it was due to one of GCC's build options that were using a default that went wrong somewhere, due to my particular system installations.


As for the original report: I guess that this is no longer a non-issue, since Fedora is no longer directly supported...

Issue History

Date Modified Username Field Change
2013-12-25 16:42 wyldckat New Issue
2013-12-25 20:08 wyldckat Note Added: 0002705
2014-03-01 22:56 wyldckat Note Added: 0002917
2014-03-02 16:00 user871 Note Added: 0002919
2014-03-02 16:01 user871 Note Edited: 0002919
2014-03-02 16:03 user871 Note Edited: 0002919
2014-03-02 22:29 wyldckat Note Added: 0002920
2014-12-29 12:21 wyldckat Note Added: 0003388
2014-12-29 12:25 henry Status new => closed
2014-12-29 12:26 henry Assigned To => henry
2014-12-29 12:26 henry Resolution open => no change required