CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

buildParaView33cvs cmake ERROR

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2008, 21:25
Default The following is what I get wh
  #1
bjr
Member
 
Ben Racine
Join Date: Mar 2009
Location: Seattle, WA, USA
Posts: 62
Rep Power: 17
bjr is on a distinguished road
Send a message via AIM to bjr Send a message via Skype™ to bjr
The following is what I get when trying to follow the README to a tee. This is a squeaky clean ubuntu install. Any advice greatly recommended. I already tried the 'sudo apt-get libqt4-dev' successfully, as appeared to be the solution in another thread.


./buildParaView3.3-cvs
Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/i3enhamin/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/i3enhamin/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc
-- Check for working C compiler: /home/i3enhamin/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc
-- Check for working C compiler: /home/i3enhamin/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -- broken
CMake Error: The C compiler "/home/i3enhamin/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/i3enhamin/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFil es/CMakeTmp'
/home/i3enhamin/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/bin/cmake -E cmake_progress_report /home/i3enhamin/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFile s/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/home/i3enhamin/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /home/i3enhamin/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFile s/CMakeTmp/testCCompiler.c
/home/i3enhamin/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../libexec/gcc /i686-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/i3enhamin/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFil es/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
i3enhamin@i3enhamin-laptop:~/OpenFOAM/OpenFOAM-1.5/bin$ ./buildParaView3.3-cvs
bjr is offline   Reply With Quote

Old   December 3, 2008, 21:58
Default I instaled OpenFOAM-1.5 on a P
  #2
New Member
 
Lee
Join Date: Mar 2009
Posts: 2
Rep Power: 0
asddsa001 is on a distinguished road
I instaled OpenFOAM-1.5 on a PC running CentOS-5.1. I got a problem with paraView too. I reinstalled the cmake package and Qt-4.3.5 to fix the problem. It seems that paraView does not work with Qt-4.3.1.
Good luck!
asddsa001 is offline   Reply With Quote

Old   December 4, 2008, 01:45
Default It looks like something in thi
  #3
bjr
Member
 
Ben Racine
Join Date: Mar 2009
Location: Seattle, WA, USA
Posts: 62
Rep Power: 17
bjr is on a distinguished road
Send a message via AIM to bjr Send a message via Skype™ to bjr
It looks like something in this sequence fixed it.

i.e.

sudo apt-get install gcc
sudo apt-get install gcc-4.2 ... and so on

gcc
gcc-4.2
gcc-4.2-base
libqt-4-core
libqt-4-debug
libqt-4-dev
libqt-4-gui
libqt-4-qt3support
libqt-4-sql
libqthreads-12
libmpfr-dev
bjr is offline   Reply With Quote

Old   December 4, 2008, 03:38
Default if you are going to compile pa
  #4
Member
 
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17
lhcamilo is on a distinguished road
if you are going to compile paraview in ubuntu, make sure you have those two packages, just search for them in synaptic:

libmpfr-dev

libmpfr1|dbl
lhcamilo is offline   Reply With Quote

Old   February 20, 2009, 19:13
Default My issue with compiling paraVi
  #5
New Member
 
John Weaver
Join Date: Mar 2009
Posts: 6
Rep Power: 17
john_w is on a distinguished road
My issue with compiling paraView is slightly different. The OS is ubuntu 8.04 and I have a correct version of qmake

QMake version 2.01a
Using Qt version 4.3.4 in /usr/lib

Here is the error that I get when I try to build paraView

~/OpenFOAM/ThirdParty$ buildParaView3.3-cvs

Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/john/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/john/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc
-- Check for working C compiler: /home/john/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /home/john/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- broken
CMake Error: The C compiler "/home/john/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/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/john/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp'
/home/john/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake -E cmake_progress_report /home/john/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/C MakeTmp/CMakeFiles 1
make[1]: /home/john/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake: Command not found
make[1]: Leaving directory `/home/john/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFiles/ CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 127
make: *** [cmTryCompileExec/fast] Error 2

I am new to using Linux and have gotten to this point in the installation of OF 1.5 using the README notes and trying the suggestions in this forum. Any ideas as to why the cmake command is not being found would be much appreciated.
john_w is offline   Reply With Quote

Old   February 22, 2009, 14:12
Default Hi John, You can che
  #6
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi John,
You can check out the below post and I must say the installation in Ubuntu 8.04 is much easier than any other OS. you just have to follow a different procedure before building ParaView3.3-cvs. Fine and let me know if any problem.

http://www.cfd-online.com/cgi-bin/Op...2166#POST32166

Bye
Rishi
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   February 22, 2009, 19:56
Default Hi Rishi Thanks for your re
  #7
New Member
 
John Weaver
Join Date: Mar 2009
Posts: 6
Rep Power: 17
john_w is on a distinguished road
Hi Rishi

Thanks for your reply. I ve gone through the procedure (including not executing the rm -rf ParaView3.3-cvs/platforms command) as well as updating the bashrc file, but am getting the following reply when I execute the ccmake command:

john@john-laptop:~/OpenFOAM/ThirdParty$ ccmake $HOME/OpenFOAM/ThirdParty/ParaView3.3-cvs
bash: /home/john/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/ccmake: No such file or directory

The comment "No such file or directory" does not make sense to me, since there is an executable file named ccmake in the /home/john/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/ folder

Thanks, John
john_w is offline   Reply With Quote

Old   February 23, 2009, 10:49
Default Hi John, I suppose you must c
  #8
New Member
 
Sayantan Datta Gupta
Join Date: Mar 2009
Location: Chennai, Tamilnadu, India
Posts: 16
Rep Power: 17
rishi123 is on a distinguished road
Hi John,
I suppose you must check out whether cmake or make is installed in the system using the synaptic manager. It is a possibility that it tries to run ccmake in the OpenFOAM directory and the cmake in the system to find out the system settings. Pl. try that out because its given in that paraview-wiki site, they load and install ccmake before setting ccmake. But UBUNTU has ccmake in synaptic (if not check it out in install and remove software). Fine try it and let me know if any problem.

Bye
Rishi.
__________________
Rishi
rishi123 is offline   Reply With Quote

Old   February 24, 2009, 00:49
Default Hi Rishi Success. Thanks f
  #9
New Member
 
John Weaver
Join Date: Mar 2009
Posts: 6
Rep Power: 17
john_w is on a distinguished road
Hi Rishi

Success. Thanks for your advice. The breakthrough occurred when I used the script in the following post: http://www.cfd-online.com/OpenFOAM_D...tml?1222736035

I also had to change the mention of cmake 2.4.6 to 2.4.7 (which is the version that is included now with Ubuntu 8.04) in the bashrc file in the OpenFoam-1.5/etc/apps/paraview folder.

John
john_w is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] OF15 for Ubuntu804 buildParaView33cvs stoped suddenly yan ParaView 4 October 25, 2009 20:21
BuildParaView33cvs problem jcw OpenFOAM Installation 11 October 27, 2008 08:28
CMake Error about testCCompilerc wu_wen OpenFOAM Installation 3 September 20, 2008 00:06
Cmake 243 not 242 unoder OpenFOAM Installation 4 August 29, 2006 13:30
Fatal error error writing to tmp No space left on device maka OpenFOAM Installation 2 April 3, 2006 09:48


All times are GMT -4. The time now is 10:35.