|
[Sponsors] |
[OpenFOAM] ParaView / PV3Readers build problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 19, 2011, 09:11 |
ParaView / PV3Readers build problem
|
#1 |
New Member
Join Date: Oct 2011
Posts: 6
Rep Power: 14 |
Good morning Bruno,
I am currently using Fedora 14 i686 and you are correct when you say ParaView is installed somewhere else. I followed a suggestion in one of the online discussion threads and used: yum install paraview. It wound up over in the (root) usr/bin directory. My apologies for adding to the confusion here. However I did this after the ParaView build failed as outlined in the attached files. bhomer |
|
October 19, 2011, 11:10 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi bhomer,
Ah Ha! The logs don't lie It seems that you didn't follow the instructions in my blog post! According to the "qtMake.log" file, you didn't execute the command exactly as I wrote down! Follow (to the letter, if possible) my instructions written here: Building ParaView 3.10.1 with custom Qt 4.6.4 It should all work as intended! If not, post the new logs in your next post Best regards and good luck! Bruno PS: for those who might be reading this thread, this all started here: http://www.cfd-online.com/Forums/blo...ml#comment1138
__________________
|
|
October 19, 2011, 19:23 |
|
#3 | |
New Member
Join Date: Oct 2011
Posts: 6
Rep Power: 14 |
Quote:
bhomer |
||
October 19, 2011, 19:25 |
|
#4 |
New Member
Join Date: Oct 2011
Posts: 6
Rep Power: 14 |
||
October 20, 2011, 03:54 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi bhomer,
This is odd... "libEGL.so.1" was not found... Try to find it first: Code:
find /usr/lib -name "libEGL.so*" find /lib -name "libEGL.so*" But if the file is found, check if the path for it appears in "LD_LIBRARY_PATH": Code:
echo $LD_LIBRARY_PATH Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib Code:
./makeParaView -qmake ${WM_THIRD_PARTY_DIR}/platforms/$WM_ARCH$WM_COMPILER/qt-4.6.4/bin/qmake > makePV.log 2>&1 wmSET echo "Are these next two lines the same?" which paraview ls $ParaView_DIR/bin/paraview Bruno
__________________
|
|
October 20, 2011, 10:30 |
|
#6 |
New Member
Join Date: Oct 2011
Posts: 6
Rep Power: 14 |
Good morning Bruno,
Neither find command turned up a "libEGL.so" file. I did an internet search for "Fedora 14 libEGL.so" which tells me there is such a file embedded in MESA. Is this the one I need and, if so, which version of MESA is required? bhomer |
|
October 20, 2011, 17:05 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi bhomer,
My guess is that "libEGL" in your system came from the graphics card drivers. Eitherway, I believe that you can install the necessary Mesa drivers by running as root: Code:
yum install mesa-libGL-devel By the way, for a deeper search, you could also try running: Code:
find / -name "libEGL*" By what I saw now in the VM I've got with Fedora 14 x86_64, it seems that I already have Mesa installed by default (since I'm using a virtual graphics card) and that's probably why I didn't run into these problems. Best regards and good luck! Bruno
__________________
|
|
October 21, 2011, 14:18 |
|
#8 |
New Member
Join Date: Oct 2011
Posts: 6
Rep Power: 14 |
Good morning Bruno, I'm back,
After many trials and tribulations I succeeded in building both Qt and paraview and I got an exact directory match for the which and ls commands. I then followed the directions and built the PV3Readers. I have attached the build log. When I executed the paraFoam command in the $FOAM_RUN...icoFoam directory I again got a failure although it was different from the one I was getting before. I have attached a log from that execution. bhomer P.S. When I finally straightened out the libEGL.so debacle the file wound up in my /usr/local/lib directory. |
|
October 21, 2011, 17:12 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi bhomer,
Pardon my French, but... Bloody hell.... I'm starting to get the feeling that only a tire iron would satisfy Fedora's missing dependencies... OK, the only thing that comes to mind is that there might be something you might have installed in your system that is interfering with the proper compiling and usage of ParaView and/or OpenFOAM. But fear not, there should be a way for fixing the problem... somehow If I had the same problems you are having at the moment, I would try this:
Code:
cp ./paraFoam `which paraFoam` Bruno
__________________
|
|
October 23, 2011, 08:44 |
|
#10 |
New Member
Join Date: Oct 2011
Posts: 6
Rep Power: 14 |
Good morning Bruno,
Ok, the error message I'm getting now is: /home/bhomer/OpenFOAM/ThirdParty-2.0.1/platforms/linuxGcc/paraview-3.10.1/lib/paraview-3.10/paraview: symbol lookup error: /usr/lib/libgconf-2.so.4: undefined symbol: g_bus_get_sync Which means, if I am interpreting correctly, that a function (g_bus_get_sync) that is supposed to reside in the libgconf-2.so.4 file does not, in fact, do so. According to an internet search the g_bus_get_sync method is part of the Gnome desktop. So, my next move is to upgrade Fedora 14 to Fedora 15. If that doesn't work I will install Ubuntu. Bruno, it's been a real pleasure meeting you and I thank you for all the help you've given me. bhomer |
|
October 23, 2011, 08:59 |
|
#11 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi bhomer,
Quote:
If you go to Ubuntu, do not install Ubuntu 11.10 right away. Either install Ubuntu 11.04 (previous version) or 10.04 LTS (Long Term Service). The reasons:
Bruno
__________________
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Problem opening paraview (remote) | alexvaleije | ParaView | 0 | June 23, 2016 12:03 |
[OpenFOAM.org] Building problem with Paraview 4.1.0 on Ubuntu 16.04 | nigala | OpenFOAM Installation | 2 | June 20, 2016 10:18 |
[OpenFOAM] Problem switching from terminal to paraView | Maxime Thomas | ParaView | 10 | October 4, 2014 10:59 |
[OpenFOAM] Paraview color scale problem | Jdog | ParaView | 1 | November 19, 2011 06:49 |
[OpenFOAM] paraview reinstallation problem | mhassani | ParaView | 1 | July 24, 2010 20:40 |