|
[Sponsors] |
Error installing OpenFOAM 2.2.0 on CentOS 6.4 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 19, 2014, 14:36 |
Yes - it works for me too
|
#21 |
Member
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 12 |
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 |
|
January 21, 2014, 18:32 |
Follow up to gcc 4.7.2
|
#22 |
Member
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 12 |
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. |
|
February 3, 2014, 02:13 |
Error in executing ./Allwmake during OpenFOAM 2.2.2 installation
|
#23 |
New Member
Azraf Azman
Join Date: Jan 2014
Posts: 1
Rep Power: 0 |
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]$ Last edited by wyldckat; February 4, 2014 at 14:57. Reason: Added [CODE][/CODE] |
|
February 3, 2014, 08:38 |
|
#24 |
Member
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 12 |
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 |
|
February 4, 2014, 14:59 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
February 12, 2014, 18:57 |
CMake build error
|
#26 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 12 |
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 Last edited by mmmn036; February 13, 2014 at 13:45. |
|
February 12, 2014, 23:37 |
|
#27 |
Member
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 12 |
The log file seemed empty when I tried to read it. I think it should be larger than 183 bytes.
Tony |
|
February 13, 2014, 13:47 |
|
#28 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 12 |
Sorry about empty file. here I updated the log file.
|
|
February 13, 2014, 15:06 |
|
#29 |
Member
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 12 |
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 |
|
February 13, 2014, 18:57 |
|
#30 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 12 |
Thanks Tony for your reply.
The binutils version is 2.23. Is that may cause any problem? Thanks |
|
February 13, 2014, 19:15 |
|
#31 |
Member
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 12 |
Possibly - do try 2.20.1 and post the result.
Tony |
|
February 13, 2014, 19:48 |
|
#32 |
Member
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 12 |
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 |
|
February 13, 2014, 22:13 |
|
#33 |
New Member
Jonathan Leo Pierce
Join Date: Feb 2014
Posts: 2
Rep Power: 0 |
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 |
|
February 15, 2014, 17:27 |
|
#34 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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:
Bruno
__________________
|
|
February 24, 2014, 14:06 |
|
#35 |
New Member
Jonathan Leo Pierce
Join Date: Feb 2014
Posts: 2
Rep Power: 0 |
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenSuse 12.3 x64 with OpenFoam 2.2.0 | aylalisa | OpenFOAM Installation | 2 | May 5, 2013 11:29 |
OpenFOAM 2.2.0 installation on ICC (Intel C++ Compiler) | vishal3 | OpenFOAM Installation | 3 | April 26, 2013 20:00 |
InterPhaseChangeFoam problem with OpenFOAM 2.2.0 | Mashiro5 | OpenFOAM Running, Solving & CFD | 5 | April 18, 2013 09:47 |
Installing OpenFOAM 2.1.1 on CentOS 5.x | phuchuynh | OpenFOAM Installation | 1 | October 10, 2012 16:58 |
The OpenFOAM extensions project | mbeaudoin | OpenFOAM | 16 | October 9, 2007 09:33 |