Hi, I am using Redhat linux,
I am using Redhat linux, I have installed openfoam and tested it and it seems though it is running the cavity test case.
I have also installed Qt and test it as below:
QMake version 2.01a
Using Qt version 4.3.5 in /usr/local/Trolltech/Qt-4.3.5/lib
however when I run buildParaView3.3-cvs in ThirdParty directory I am getting this error:
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc
-- Check for working C compiler: /home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- broken
CMake Error: The C compiler "/home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake: Entering directory `/home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CM akeTmp'
/home/sf/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake -E cmake_progress_report /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CMa keTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CMa keTmp/testCCompiler.c
/home/sf/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../libexec/gcc/x86_ 64-unknown-linux-gnu/4.3.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
gmake: Leaving directory `/home/sf/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/CM akeTmp'
gmake: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
-- Configuring done
make: *** No targets specified and no makefile found. Stop.
can anybody help me with that please?
The problem is the MPFR and GMP are not installed. My suggestion, install these two packages and then reinstall OF-1.5.
Refer to this post:
|All times are GMT -4. The time now is 14:12.|