Paraview and Qt installation
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 |
Quote:
eg, Code:
./makeParaView -qmake /home/xxxx/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5/qmake |
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 Hope this helps. |
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 |
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 Code:
-qmake /SOME/PATH/THAT/YOU/KNOW/AND/WE/CANNOT/qmake |
Quote:
Code:
export PATH Code:
PATH=/home/xxxx/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5:$PATH |
Quote:
Unless something is really weird on the system, you should see "declare -x PATH=....", which shows that PATH is indeed exported. |
Quote:
|
[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 |
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. |
am using ubuntu 9.10
i will tyr it thanks a lot |
am using ubuntu 9.10
iwill try it thanks a lot |
Great, there is a quite extensive "cookbook" discussion for installing OF in Ubuntu in this thread. Have a good one!
|
hi i was able to install paraview
i used the following code Code:
sudo apt-get install qt4 thanks both of u for your help i hope working in openfoam will be a pleasant experience for me regards |
All times are GMT -4. The time now is 23:18. |