CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Error installing OpenFOAM 2.2.0 on CentOS 6.4 (https://www.cfd-online.com/Forums/openfoam-installation/121996-error-installing-openfoam-2-2-0-centos-6-4-a.html)

tladd January 19, 2014 14:36

Yes - it works for me too
 
Bruno

I found the combination of gcc-4.7.3, binutils-2.23 and cmake-2.8.3 compiled just fine. I agree that it is most likely the binutils - perhaps something broken in the loader with RHEL; but I would not have guessed it.

Thanks Again

Tony

tladd January 21, 2014 18:32

Follow up to gcc 4.7.2
 
Bruno

I made some more tests of the build of cmake. Here is what I found with
gmp-5.0.4 mpc-0.9 mpfr-3.1.0 in each case

gcc cmake binutils Build?
4.7.2 2.8.12.1 2.23 No
4.7.2 2.8.3 2.23 No
4.7.2 2.8.3 2.22 No
4.7.3 2.8.3 2.23 Yes
4.7.3 2.8.4 2.23.2 Yes
4.7.3 2.8.12.1 2.23 Yes
4.7.3 2.8.12.1 2.23.2 Yes

So for me everything I tried with 4.7.3 worked while everything with 4.7.2 failed. So I do not understand your magic touch that enabled a build with 4.7.2 - unless the build you thought was 4.7.2 was in fact 4.7.3.

In any case I am OK at this point - I have built a number of working versions of OpenFOAM - I just need to edit settings.sh to change 4.7.2 to 4.7.3.

Azraf February 3, 2014 02:13

Error in executing ./Allwmake during OpenFOAM 2.2.2 installation
 
Dear all,
I am new to OpenFOAM and Linux. Currently I am trying to install OpenFOAM in CentOS 6.5 for i686 machine. I followed the instructions from http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL but encountered some problem at no 13 instruction which is ./Allwmake. Please advise. sorry for the inconvenience because it is quite long.

the error as below:

Code:

[CFD@azraf PV3Readers]$ ./Allwmake
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV3Readers.C
SOURCE=vtkPV3Readers.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3Readers.o
'/home/CFD/OpenFOAM/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/lib/libvtkPV3Readers.so' is up to date.
+ '[' -d /home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0 -a -r /home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0 ']'
+ wmake libso vtkPV3blockMesh
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV3blockMesh.C
Making dependency list for source file vtkPV3blockMeshConvert.C
Making dependency list for source file vtkPV3blockMeshUtils.C
SOURCE=vtkPV3blockMesh.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3blockMesh.o
SOURCE=vtkPV3blockMeshConvert.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3blockMeshConvert.o
SOURCE=vtkPV3blockMeshUtils.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3blockMeshUtils.o
/usr/bin/ld: cannot find -lblockMesh
collect2: ld returned 1 exit status
make: *** [/home/CFD/OpenFOAM/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/lib/libvtkPV3blockMesh.so] Error 1
+ cd PV3blockMeshReader
+ mkdir -p Make/linuxGccDPOpt
+ cd Make/linuxGccDPOpt
+ cmake ../..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error at CMakeLists.txt:43 (QT4_WRAP_CPP):
  Unknown CMake command "QT4_WRAP_CPP".


-- Configuring incomplete, errors occurred!
+ make
make: *** No targets specified and no makefile found.  Stop.
+ '[' -d /home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0 -a -r /home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0 ']'
+ wmake libso vtkPV3Foam
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV3Foam.C
Making dependency list for source file vtkPV3FoamFields.C
Making dependency list for source file vtkPV3FoamMesh.C
Making dependency list for source file vtkPV3FoamMeshLagrangian.C
Making dependency list for source file vtkPV3FoamMeshSet.C
Making dependency list for source file vtkPV3FoamMeshVolume.C
Making dependency list for source file vtkPV3FoamMeshZone.C
Making dependency list for source file vtkPV3FoamUpdateInfo.C
Making dependency list for source file vtkPV3FoamUtils.C
SOURCE=vtkPV3Foam.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3Foam.o
SOURCE=vtkPV3FoamFields.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamFields.o
SOURCE=vtkPV3FoamMesh.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamMesh.o
SOURCE=vtkPV3FoamMeshLagrangian.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamMeshLagrangian.o
SOURCE=vtkPV3FoamMeshSet.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamMeshSet.o
SOURCE=vtkPV3FoamMeshVolume.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamMeshVolume.o
SOURCE=vtkPV3FoamMeshZone.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamMeshZone.o
SOURCE=vtkPV3FoamUpdateInfo.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamUpdateInfo.o
SOURCE=vtkPV3FoamUtils.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/home/CFD/OpenFOAM/ThirdParty-2.2.2/platforms/linuxGcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/CFD/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamUtils.o
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make: *** [/home/CFD/OpenFOAM/OpenFOAM-2.2.2/platforms/linuxGccDPOpt/lib/libvtkPV3Foam.so] Error 1
+ cd PV3FoamReader
+ mkdir -p Make/linuxGccDPOpt
+ cd Make/linuxGccDPOpt
+ cmake ../..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error at CMakeLists.txt:44 (QT4_WRAP_CPP):
  Unknown CMake command "QT4_WRAP_CPP".


-- Configuring incomplete, errors occurred!
+ make
make: *** No targets specified and no makefile found.  Stop.
[CFD@azraf PV3Readers]$


tladd February 3, 2014 08:38

I am not an expert in this, but the first complaint is that it cannot find libblockMesh.so. It should be in OpenFOAM-2.2.2/platforms/linux64Gcc45DPOpt/lib or similar. If not you need to check for errors in the build of OpenFOAM itself perhaps.

Tony

wyldckat February 4, 2014 14:59

Greetings to all!

@Azraf: Tony is correct. There seems to have been bigger problems while building OpenFOAM itself.
Please follow the instructions in step #11.

Best regards,
Bruno

mmmn036 February 12, 2014 18:57

CMake build error
 
1 Attachment(s)
Hello,

I was installing OpenFOAM 2.2.2 and paraview on Centos6.4 by followng the instruction of-http://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.2.2/CentOS_SL_RHEL#CentOS_6.4 .

OpenFoam installation was successful and it runs cases with parallel, but I got error when I was building CMake 2.8.3.

I look into the log files and didn't see any error until step no. 12.

I attached the error in log file. Would anyone please help me out.

Thanks

tladd February 12, 2014 23:37

The log file seemed empty when I tried to read it. I think it should be larger than 183 bytes.

Tony

mmmn036 February 13, 2014 13:47

1 Attachment(s)
Sorry about empty file. here I updated the log file.

tladd February 13, 2014 15:06

Manjura

I had a similar error but not with gcc-4.5.2. I found that gcc-4.7.2 crashed on building cmake in the same way as in your log files with the "keypad" error. I found that switching to 4.7.3 worked fine. In post 22 I report builds that worked and those that did not.

However Bruno Santos, who is much more experienced than me, got a 4.7.2 build to work so I am not sure exactly what is wrong.

I would suggest

1) You go over the instructions for the build of cmake and make sure you are following them exactly.
2) Are you using binutils-2.20.1 as the instructions recommend. Bruno says this can make a difference.
3) Try with different version of gcc - e.g. 4.7.3. (see post 22)
4) I compared your log file with my successful build of cmake-2.8.3 with gcc-4.5.2. The first difference was on line 192
193,195c193,195
< -- Looking for idna_to_ascii_lz in idn;dl - not found
< -- Looking for dlopen in dl
< -- Looking for dlopen in dl - found
---
> -- Looking for idna_to_ascii_lz in idn;dl - found
> -- Looking for dlopen in dl;idn
> -- Looking for dlopen in dl;idn - found

There is this thing "idna_to_ascii_lz in idn;dl" which my log reports as found and yours says not found. No idea why, but this may give you a place to start.

Good luck

Tony

mmmn036 February 13, 2014 18:57

Thanks Tony for your reply.

The binutils version is 2.23. Is that may cause any problem?

Thanks

tladd February 13, 2014 19:15

Possibly - do try 2.20.1 and post the result.

Tony

mmmn036 February 13, 2014 19:48

oh...yes....it is binutils version that gives me the error.
binutils 2.20.1 is good to build cmake 2.8.3.

Thanks a lot for helping me out. Now I will build paraview.

Manjura

jpierce February 13, 2014 22:13

Maybe late to the party, but I found this page while searching for that particular error in building cmake. I was running gcc-4.7.2 and binutils-2.22. After compiling binutils-2.24 and rebuilding cmake, I still had the same error.

In the end, editing $CMAKE_BUILD/Source/CMakeFiles/ccmake.dir/link.txt and adding "-ltinfo" to the end of the line fixed the issue. Went back and tested with binutils-2.22 using a fresh build directory, and I was able to complete the build using that, as well.

All this might not be necessary on RH5-based distributions. I believe (but could be wrong) that they modified DSO linking between majors so you have to be a little more explicit now.

[edit]: Someone on the kbuild mailing list arrived at the same conclusion/solution for that project: https://groups.google.com/forum/#!to...el/0AMWriDGc8g

wyldckat February 15, 2014 17:27

Greetings Jonathan and welcome to the forum!

And many thanks for sharing this information about building CMake!
I just have a couple of questions, just to confirm the situation, so that I can try and reproduce the same issue:
  1. Which Linux Distribution did you use?
  2. What does this command give you, when the OpenFOAM shell environment is ready to be used:
    Code:

    ld --version
Best regards,
Bruno

jpierce February 24, 2014 14:06

  1. This is in CentOS 6.3 (stock, no updates applied). For the purposes of cmake, there shouldn't be much difference between that and v6.4, which mmmn036 was having issues with.
  2. To be quite honest, I'm not an OpenFOAM user. (I work in Neuroimaging and was compiling the pre-requisites for Gadgetron.) This post just happened to be the first result in several related Google searches. I'm not using the binutils package that comes with the distro; I have custom builds in /usr/local. The output is probably just about what you would expect. For v2.22:
    Code:

    GNU ld (GNU Binutils) 2.22
    Copyright 2011 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) a later version.
    This program has absolutely no warranty.

    and for v2.24:
    Code:

    GNU ld (GNU Binutils) 2.24
    Copyright 2013 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) a later version.
    This program has absolutely no warranty.



All times are GMT -4. The time now is 04:55.