Configure command ends with 'ERROR: Unknown command line option ...'
Unsolved
Installation and Deployment
-
If I run the configure command without any options it works fine. But if I try to run it with any option it ends with the line "ERROR: Unknown command line option (...)".
I downloaded the 5.15.x source packages from https://www.qt.io/offline-installers
and copied it to ~/Qt/5.15.2/Src/Now I try to run the command in the following way:
./configure -prefix /opt/qt_5
This command ends like this:
+ cd qtbase + /home/amt/Qt/5.15.2/Src/qtbase/configure -top-level -prefix /opt/qt_5/ Creating qmake... ...............................................................................................Done. Info: creating super cache file /home/amt/Qt/5.15.2/Src/.qmake.super Info: creating cache file /home/amt/Qt/5.15.2/Src/.qmake.cache ERROR: Unknown command line option '-prefix'.
'prefix' is just an example. I've tried several other options and they all show the same behavior.
What I'm doing wrong?
My main goal is cross compile to a 'arm i.MX8M'
-
Hi and welcome to devnet,
Might be a silly question but did you download the zip or tar.xz archive ?