Ninja error building Qt 6.5 from source
-
wrote on 20 Jul 2023, 20:11 last edited by
Hello,
Hopefully someone can help with what should be an easy problem (that has me stumped):
I have a new MacBook computer running Ventura (macOS 13.4.1).
I have installed:
-
Xcode 14.3.1
-
MacPorts
-
cmake v3.24.4 (sudo port install cmake)
-
ninja v1.11.1 (sudo port install ninja)
-
nodejs v18.17.0 (via a package)
-
I copied and decompressed/untarred the Qt 6.5 source tar.xz file
Path was updated to include /usr/local/bin where the above components are found.
Running configure there are a couple of minor warnings.
But running: cmake --build . --parallel
generates this error: "ninja: error: loading 'build.ninja': No such file or directory"I do not see a build.ninja file installed at the source location.
However, there is a build.ninja.tmp... file that is 0 bytes in length.TIA !!!
Zanth -
-
Hi and welcome to devnet,
Which configuration options did you use ?
-
wrote on 20 Jul 2023, 20:32 last edited by
Hi,
Thank you ... it is good to be here!
None at all I believe. I simply followed the instructions in: https://doc.qt.io/qt-6/macos-building.html
and entered:cd /tmp/qt-everywhere-src-6.5.2
./configure -
Hi,
Thank you ... it is good to be here!
None at all I believe. I simply followed the instructions in: https://doc.qt.io/qt-6/macos-building.html
and entered:cd /tmp/qt-everywhere-src-6.5.2
./configurewrote on 20 Jul 2023, 20:52 last edited byI should add one thing that may be relevant: After the configure finished I was left with on a blank line and was not returned to the command line.
I tried typing the usual things:
save
exit
quit
bye
help... but got no response. I finally hit ^C to exit the utility. Perhaps this is the problem?
-
I should add one thing that may be relevant: After the configure finished I was left with on a blank line and was not returned to the command line.
I tried typing the usual things:
save
exit
quit
bye
help... but got no response. I finally hit ^C to exit the utility. Perhaps this is the problem?
wrote on 20 Jul 2023, 22:20 last edited by JoeCFD@Zanth did you install ninja?
which ninja?In addition to Xcode, you will need to make sure you have the following dependencies in your path PATH.
CMake (>=3.16, >= 3.18.4 for Ninja Multi-Config, >= 3.21.1 for static Qt builds) Ninja
-
I should add one thing that may be relevant: After the configure finished I was left with on a blank line and was not returned to the command line.
I tried typing the usual things:
save
exit
quit
bye
help... but got no response. I finally hit ^C to exit the utility. Perhaps this is the problem?
-
@Zanth did you install ninja?
which ninja?In addition to Xcode, you will need to make sure you have the following dependencies in your path PATH.
CMake (>=3.16, >= 3.18.4 for Ninja Multi-Config, >= 3.21.1 for static Qt builds) Ninja
1/7