|
[Sponsors] |
[OpenFOAM.com] failing to build Qt, Project ERROR: Building QtQml requires Python. - ubuntu |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 27, 2019, 08:37 |
failing to build Qt, Project ERROR: Building QtQml requires Python. - ubuntu
|
#1 |
New Member
Lukas
Join Date: Jul 2018
Posts: 20
Rep Power: 8 |
Hey guys,
i am currently installing openFOAM 1912 and have some trouble building Qt. I downloaded the right tarball (https://download.qt.io/archive/qt/5.9/5.9.9/single/) extracted it into the thirdparty folder and started building it using "./makeQt 5.9.9". Just as it says in the BUILD.md After severals minutes i get the following error and the building aborts: Code:
Info: creating cache file /home/thenew/OpenFOAM/ThirdParty-v1912/build/linux64Gcc/qt-everywhere-opensource-src-5.9.9/qtdeclarative/.qmake.cache sh: 1: python: not found Project ERROR: Building QtQml requires Python. Makefile:334: recipe for target 'module-qtdeclarative-make_first' failed make: *** [module-qtdeclarative-make_first] Error 3 Command exited with non-zero status 2 3310.61user 231.30system 8:05.68elapsed 729%CPU (0avgtext+0avgdata 426500maxresident)k 0inputs+3837616outputs (351major+59299359minor)pagefaults 0swaps Error building: Qt-5.9.9 Greetings and thanks in advance: Lukas |
|
December 28, 2019, 11:29 |
_solved_
|
#2 |
New Member
Lukas
Join Date: Jul 2018
Posts: 20
Rep Power: 8 |
it seems in ubuntu 18.04 you cant call python by "python", if you haven't installed python2.7. So i just needed to install python 2.7, did so by
Code:
sudo apt install python |
|
Tags |
installation by sources, openfoam 1912, qt-opensource |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 Parallel Build Install Issue | jclegg | SU2 | 4 | October 20, 2020 05:28 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |