|
[Sponsors] |
February 1, 2010, 21:57 |
Paraview and Qt installation
|
#1 |
New Member
maverick
Join Date: Feb 2010
Posts: 9
Rep Power: 16 |
Hi everbody,
am trying to install open foam 1.6 i have installed open foam without installing Qt after that i have dowloaded Qt 4.3.5 from link given in open foam site i have kept the Qt in third party directory untarred it and ran ./qmake and the installation was complete. Now when i run ./makeParaView -qmake /home/xxxx/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5 (the path where qmake is present) am getting the following error cannot find qmake either at $QMAKE_PATH or in current $PATH can somebody guide me on this thanks |
|
February 2, 2010, 02:28 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
eg, Code:
./makeParaView -qmake /home/xxxx/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5/qmake |
||
February 2, 2010, 02:35 |
|
#3 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi,
I guess you need to add qmake to your environment variables, i.e. add Code:
PATH=/home/xxxx/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5:$PATH export PATH Hope this helps.
__________________
Regards, Gijs |
|
February 2, 2010, 04:02 |
|
#4 | ||
New Member
maverick
Join Date: Feb 2010
Posts: 9
Rep Power: 16 |
Quote:
specified QMAKE_PATH does not exist on this machine QMAKE_PATH=home/xxxx/OpenFOAM/ThirdParty-1.6/qmake leaving unspecifed *** Error: cannot find qmake either at $QMAKE_PATH or in current $PATH Quote:
PATH=/home/xxxx/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5:$PATH to .bashrc file in home directory and then updated the envirnmental variables by . $HOME/.bashrc still the same problem exists and qmake directory is available in the qt-x11-opensouce-src-4.3.5 directory also when i try finding whether Qt is installed by usind qmake --version , its not able to detect the version instead i get the packages list have i installed Qt am kinda new to linux , donno wat to do. thanks both of u for reply |
|||
February 2, 2010, 04:29 |
|
#5 | ||
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
Quote:
First make sure you can actually use qmake. According to your information qmake is found somewhere under the qt-x11-opensource-src-4.3.5 directory which is located somewhere on your system, or perhaps it is a qmake directory (presumably with a qmake executable in it). Make sure you can actually call qmake. For example, Code:
/SOME/PATH/THAT/YOU/KNOW/AND/WE/CANNOT/qmake -v Code:
/usr/bin/qmake -v QMake version 2.01a Using Qt version 4.5.3 in /usr/lib64 Code:
-qmake /SOME/PATH/THAT/YOU/KNOW/AND/WE/CANNOT/qmake |
|||
February 2, 2010, 05:57 |
|
#6 | |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Quote:
Code:
export PATH Code:
PATH=/home/xxxx/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5:$PATH
__________________
Regards, Gijs |
||
February 2, 2010, 06:07 |
|
#7 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
Unless something is really weird on the system, you should see "declare -x PATH=....", which shows that PATH is indeed exported. |
||
February 2, 2010, 06:29 |
|
#8 | |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Quote:
__________________
Regards, Gijs |
||
February 2, 2010, 08:51 |
|
#9 |
New Member
maverick
Join Date: Feb 2010
Posts: 9
Rep Power: 16 |
[QUOTE=olesen;244542]This message has "home/xxxx/ and not "/home/xxxx/", did you forget the slash?
I have not forgotten the slash and i have included export PATH What? A qmake directory is now available? This is getting really confusing. qmake directory is available in home/usr/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5 directory.it contains lots of files with .o extension. i went in the qt-x11 directory where qmake is available and when i typed qmake -v, i get this * qt3-dev-tools ( You will have to enable component called 'main' ) * qt4-qmake ( You will have to enable component called 'main' ) Try : sudo apt-get install <selected package> qmake: command not found should i reinstall qt again, how do i uninstall it, will it solve the problem |
|
February 3, 2010, 02:48 |
|
#10 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Well, it is becoming a bit unclear to me now what is going on.
First of all, what linux distribution are you using? This is important because you may need to install different packages on which Qt depends (or at least the compilation of Qt). If I were you, I would start installing Qt from scratch. Just make a folder containing the qt-x11-opensource-src-4.3.5.tar.gz file and untar it. Then, configure it ("./configure"), make it ("make" or "gmake", depending on the system), and install it (as root, "make install" or "gmake install", and log out of root again). And last but not least, put the right path in .bashrc.
__________________
Regards, Gijs |
|
February 3, 2010, 08:45 |
|
#11 |
New Member
maverick
Join Date: Feb 2010
Posts: 9
Rep Power: 16 |
am using ubuntu 9.10
i will tyr it thanks a lot |
|
February 3, 2010, 08:47 |
|
#12 |
New Member
maverick
Join Date: Feb 2010
Posts: 9
Rep Power: 16 |
am using ubuntu 9.10
iwill try it thanks a lot |
|
February 3, 2010, 09:14 |
|
#13 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Great, there is a quite extensive "cookbook" discussion for installing OF in Ubuntu in this thread. Have a good one!
__________________
Regards, Gijs |
|
February 7, 2010, 07:29 |
|
#14 |
New Member
maverick
Join Date: Feb 2010
Posts: 9
Rep Power: 16 |
hi i was able to install paraview
i used the following code Code:
sudo apt-get install qt4 sudo apt-get install libqt4-dev thanks both of u for your help i hope working in openfoam will be a pleasant experience for me regards |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|