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

OpenFOAM-1.7.1 Installation on Fedora14

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2012, 02:59
Default OpenFOAM-1.7.1 Installation on Fedora14
  #1
New Member
 
christal oceaney
Join Date: Nov 2012
Posts: 4
Rep Power: 13
oceaney03 is on a distinguished road
Hi Everybody,

When I install the OpenFOAM-1.7.1 and go to the step of ./Allwmake, there are some errors.

make : Target 'application' not remade because of errors.

And I attach the detail informations.
Any suggestion will be appreciated.

Best regards!

Oceaney
Attached Files
File Type: txt error.txt (82.5 KB, 2 views)
oceaney03 is offline   Reply With Quote

Old   November 19, 2012, 17:21
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Oceaney and welcome to the forum!

This has already been fixed in OpenFOAM 1.7.x: http://www.openfoam.org/mantisbt/view.php?id=15
If you still want to use OpenFOAM 1.7.1, you should apply this fix to it: https://github.com/OpenCFD/OpenFOAM-...f64468c3973429

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 20, 2012, 04:15
Default
  #3
New Member
 
christal oceaney
Join Date: Nov 2012
Posts: 4
Rep Power: 13
oceaney03 is on a distinguished road
Dear Bruno,

Thanks for your suggestion, it works when I use 1.7.x, but I meet some other troubles in the next step ./makeParaView of installation.

Error: cannot find qmake either at $QMAKE_PATH or in current $PATH

I thought the qt is not installed, but it says 'qt-4.7.4-7.fc14.x86_64 already installed and latest version' when I do '# yum install qt'. So, what's the problem and how to fix it.

Kind regards~

Oceaney
oceaney03 is offline   Reply With Quote

Old   November 20, 2012, 06:57
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Oceaney,

This should do the trick:
Code:
./makeParaView -qmake $(which qmake-qt4)
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 21, 2012, 04:44
Default
  #5
New Member
 
christal oceaney
Join Date: Nov 2012
Posts: 4
Rep Power: 13
oceaney03 is on a distinguished road
Dear Bruno,

I typed this code, but it seems not work.
This is part of error information,
~~~~~~~~~~~~~~~~~~~~~~~~~~
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTASSISTANTCLIENT_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/Qt/ApplicationComponents

-- Configuring incomplete, errors occurred!
Starting make
make: *** No targets specified and no makefile found. Stop.

real 0m0.007s
user 0m0.001s
sys 0m0.006s
Done make
Installing ParaView to /root/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/paraview-3.8.0
make: *** No rule to make target `install'. Stop.
---
Installation complete for paraview-3.8.0
Set environment variables:

export ParaView_DIR=/root/OpenFOAM/ThirdParty-1.7.x/platforms/linux64Gcc/paraview-3.8.0
export PATH=$ParaView_DIR/bin:$PATH
export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8
---

Done
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And then I find the old blog post and paste the code which mentioned in this post to my terminal window:
http://www.cfd-online.com/Forums/blo...-qt-4-6-3.html

But the problem still exist. Please help me.


Best regards,
Oceaney
oceaney03 is offline   Reply With Quote

Old   November 21, 2012, 07:58
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Oceaney,

I haven't had time to confirm this, but you probably need the following packages:
Code:
qt-devel qt-webkit-devel
I.e. run as root:
Code:
yum install qt-devel qt-webkit-devel
Then try makeParaView once again!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 22, 2012, 01:53
Default
  #7
New Member
 
christal oceaney
Join Date: Nov 2012
Posts: 4
Rep Power: 13
oceaney03 is on a distinguished road
Dear Bruno,

It is not the problem of this packages.
I also tried the pre-built ParaView 3.8.0 version, and everything goes well, looks like, but at the end, I got:
____________
# paraFoam
created temporary 'cavity.foam'
paraview-real: cannot connect to X server
____________

So depressed!
I dont know how to do and hope you will help me when you have time.

Best regards!
Ocenaney
oceaney03 is offline   Reply With Quote

Old   November 22, 2012, 03:59
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Oceaney,

Did you try searching with Google?

Try these two commands:
Code:
export LIBGL_ALWAYS_INDIRECT=y
paraFoam
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
fedora14, openfoam-1.7.1


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 2.0.0 installation Jan_Peters OpenFOAM Installation 86 April 27, 2012 05:32
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 15:12
OpenFOAM Installation Meisam OpenFOAM Installation 6 January 31, 2012 15:43
Compiling OpenFOAM 1.7.1 on Ubuntu 10.10 samiam1000 OpenFOAM Installation 4 November 24, 2010 08:00
Some Query on Installation of OpenFoam lzgwhy OpenFOAM Installation 1 July 15, 2009 03:20


All times are GMT -4. The time now is 02:39.