foam-extend-3.1 and CentOS 6.5 CMake and QT Version Troubles with FIXES
I'm testing CentOS 6.5 and was successful in installing OpenFOAM 2.3.0. However, the same cannot be said for foam-extend-3.1.
Is there an easy way to either: 1) update CMake on CentOS 6.5 (I can't find any useful info on Google or the CMake website on how to do this), or 2) get a ThirdParty CMake package such as provided for OpenFOAM 2.3.0 to facilitate the installation of foam-extend-3.1 in CentOS 6.5? Thanks for the help. |
Okay, I was able to (mostly) compile foam-extend-3.1 with the following modifications:
1. As root, I installed CMake 2.8 using instructions from here: Code:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Code:
sudo yum install binutils-devel 4. Created the $HOME/foam/foam-extend-3.1/etc/prefs.sh file with the following settings: Code:
export FOAM_VERBOSE=1 Everything is compiling fine except for Paraview which requires Qt4 version 4.7.0 and it's only finding 4.6.2. I'll read through some of the other posts here to look into this, but curious why this is the case if using ThirdParty QT... Hopefully this will help anyone else struggling with this. |
And ParaView compilation issue has been explained here with a fix outlined here.
1. Go into the file $WM_THIRD_PARTY_DIR/Allmake.stage4 and change any reference to QT version 4.8.5 to 4.8.6 (I just opened the file in a text editor and search/replace "4.8.5" with "4.8.6". 2. Same in the file $WM_PROJECT_DIR/etc/settings.sh. 3. Go to the folder $WM_THIRD_PARTY_DIR/rpmBuild/SPECS/ and copy the file qt-everywhere-opensource-src-4.8.5.spec to qt-everywhere-opensource-src-4.8.6.spec, then open the file and again change all references of "4.8.5" to "4.8.6", save, and close. 4. Re-compile and you should be good to go. |
All times are GMT -4. The time now is 15:16. |