CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   ParaFoam on Ubuntu 804 (https://www.cfd-online.com/Forums/openfoam-installation/57310-parafoam-ubuntu-804-a.html)

francy September 22, 2008 04:28

I'm installed open foam on Ubu
 
I'm installed open foam on Ubuntu 8.04, but when i try to star parafoam, I obtain this message of error:

paraview: error while loading shared libraries: libQtAssistantClient.so.4: cannot open shared object file: No such file or directory

thanks for all yours aid.
Francesco

ngj September 22, 2008 05:18

Hi You need to install qt4.
 
Hi

You need to install qt4.3.5, which you can get by searching in Synaptic Package Manager.
When it is install please follow the README to compile Parafoam

/Niels

francy September 22, 2008 05:55

Thanks Niel, but i'm not an a
 
Thanks Niel,
but i'm not an abitual user in Linux, can you tell me where and what exactly i must download (the file name)

Thanks again

Francesco

ngj September 22, 2008 07:08

libqt4-dev
 
libqt4-dev

francy September 23, 2008 10:38

I've installed libqt4-dev 4.3.
 
I've installed libqt4-dev 4.3.4, the only avaible for ubuntu 8.04
When I try to compile paraview obtain:

francy@francy-desktop:~/OpenFOAM$ cd ThirdParty/
francy@francy-desktop:~/OpenFOAM/ThirdParty$ rm -rf ParaView3.3-cvs/platforms/
francy@francy-desktop:~/OpenFOAM/ThirdParty$ buildParaView3.3-cvs
Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/francy/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/francy/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc
-- Check for working C compiler: /home/francy/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc
-- Check for working C compiler: /home/francy/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -- broken
CMake Error: The C compiler "/home/francy/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/francy/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/ CMakeTmp'
/home/francy/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/bin/cmake -E cmake_progress_report /home/francy/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/C MakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/home/francy/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /home/francy/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/C MakeTmp/testCCompiler.c
/home/francy/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../libexec/gcc/i6 86-pc-linux-gnu/4.3.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1
make[1]: Leaving directory `/home/francy/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFiles/ CMakeTmp'
make: *** [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.
done


What i've to do??
Thanks at all

Francesco

ngj September 23, 2008 13:25

Do the same, as with qt. Go to
 
Do the same, as with qt. Go to Synaptic Package Manager and search for mpfr.

Get libmpfr-dev and the manager will suggest the additional needed packages.

From there on, you should be set to go.

/ Niels

Julian K. May 8, 2009 06:57

Thanks ngi,

I had the same problem as francy, followed your instructions and the compiling of paraview3.3 works.
It's still running, so I do not know if the compiling of PV3FoamReader will work...


All times are GMT -4. The time now is 20:58.