Building/installing Qt-6.5.2 from source on ubuntu-22.04
-
Then check the configure test logs to see exactly what failed during the detection.
One thing: did you cleanup before calling configure again after installing the packages ?
Hi,
Thanks for your advice, i re-configured it after removing, now openssl is linking with 3.0.2 version but still showing warning that QtWebEngine won't be build....I ignored and moved to next step, now i am getting error related to gn.
How to remove this error ?
-
Hi,
Thanks for your advice, i re-configured it after removing, now openssl is linking with 3.0.2 version but still showing warning that QtWebEngine won't be build....I ignored and moved to next step, now i am getting error related to gn.
How to remove this error ?
-
@prathyuch-1999 If you don't need QtWebEngine then you should disable it.
And as @SGaist suggested: call configure in a clean build folder!@jsulm
Hi...
I want QtWebEngine, earlier error was related to SSL, that resolved now.
Is this GN error related to QtWebEngine ?
First how to resolved to this GN error, and why QtWebEngine is not building ? -
@jsulm
Hi...
I want QtWebEngine, earlier error was related to SSL, that resolved now.
Is this GN error related to QtWebEngine ?
First how to resolved to this GN error, and why QtWebEngine is not building ?@prathyuch-1999 As already asked/suggested twice: did you run configure from a clean build folder?
The warning you posted clearly states that QtWebengine will not be built because not all needed libraries were found. @SGaist told you to check configure log to see which libraries are missing: did you do that? You keep asking for what to do ignoring what was already suggested. -
@prathyuch-1999 As already asked/suggested twice: did you run configure from a clean build folder?
The warning you posted clearly states that QtWebengine will not be built because not all needed libraries were found. @SGaist told you to check configure log to see which libraries are missing: did you do that? You keep asking for what to do ignoring what was already suggested.@jsulm
i already run configure from a clean build folder as suggested by @SGaist
Earlier one issue was with SSL and another was QtWebEngine, after doing this now SSL issue resolved, but still warning of QtWebEngine.The warning you posted clearly states that QtWebengine will not be built because not all needed libraries were found.
Dear i know this.
If i am wrong then any one tell me the name and path of configure test logs file @SGaist
Is this GN error related to QtWebEngine ?
First how to resolved to this GN error, and why QtWebEngine is not building ? -
@jsulm
i already run configure from a clean build folder as suggested by @SGaist
Earlier one issue was with SSL and another was QtWebEngine, after doing this now SSL issue resolved, but still warning of QtWebEngine.The warning you posted clearly states that QtWebengine will not be built because not all needed libraries were found.
Dear i know this.
If i am wrong then any one tell me the name and path of configure test logs file @SGaist
Is this GN error related to QtWebEngine ?
First how to resolved to this GN error, and why QtWebEngine is not building ?Which warning do you have now when starting from a clean state ?
-
@SGaist
I am having below warning now....WARNING: No backend for low level audio found.
WARNING: QtWebEngine won't be built. Could not find all necessary libraries for qpa-xcb support. X11:YES LIBDRM:YES XCOMPOSITE:YES XCURSOR:YES XRANDR:YES XI:YES XPROTO:YES XSHMFENCE:NO XTST:YES -
@SGaist
I am having below warning now....WARNING: No backend for low level audio found.
WARNING: QtWebEngine won't be built. Could not find all necessary libraries for qpa-xcb support. X11:YES LIBDRM:YES XCOMPOSITE:YES XCURSOR:YES XRANDR:YES XI:YES XPROTO:YES XSHMFENCE:NO XTST:YES@prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
XSHMFENCE:NO
Isn't this obvoius enough? Install the appropriate develpoment package if you need QtWebEngine
-
@prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
XSHMFENCE:NO
Isn't this obvoius enough? Install the appropriate develpoment package if you need QtWebEngine
@Christian-Ehrlicher
Thanks @Christian-Ehrlicher, i installed that package, now QtWebEngine warning is not there. -
@Christian-Ehrlicher
Thanks @Christian-Ehrlicher, i installed that package, now QtWebEngine warning is not there.@prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
i installed that package, now QtWebEngine warning is not there.
What does 'is not there' means? Did configure warn about QtWebEngine missing dependencies? If not then it will also be built.
-
@prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
i installed that package, now QtWebEngine warning is not there.
What does 'is not there' means? Did configure warn about QtWebEngine missing dependencies? If not then it will also be built.
@Christian-Ehrlicher
Yes, now there is now warning of QtWebEngine at configure step.
But after successfully configured now i am getting following error related to gn, while doing next step (cmake --build . --parallel) screenshot of error is below :
Error Screenshot-2
Error Screenshot-3
Please suggest me what is the problem ?
How to remove this gn error ? -
@Christian-Ehrlicher
Yes, now there is now warning of QtWebEngine at configure step.
But after successfully configured now i am getting following error related to gn, while doing next step (cmake --build . --parallel) screenshot of error is below :
Error Screenshot-2
Error Screenshot-3
Please suggest me what is the problem ?
How to remove this gn error ?As you can see it's failing when looking for cups-config.
-
As you can see it's failing when looking for cups-config.
@Christian-Ehrlicher
Thanks for your advice, i did same and now there is no warning of QtWebEngine at configure step.
But it was getting failed in next step with below error :
"c++: fatal error: Killed signal terminated program cc1plus"
I checked with dmesg, and found some out of memory things.
Even though i have 16GB of RAM, then I increased my swap size from 2 GB to 8GB.
Again did cmake....
But now, after some time terminal is getting crashed without any warning or error.
I checked with top command and found that some time cpu utilization is getting 85% to 100% by cc1plus and kswapd0.How to overcome this error ?
dmesg output:
-
@Christian-Ehrlicher
Thanks for your advice, i did same and now there is no warning of QtWebEngine at configure step.
But it was getting failed in next step with below error :
"c++: fatal error: Killed signal terminated program cc1plus"
I checked with dmesg, and found some out of memory things.
Even though i have 16GB of RAM, then I increased my swap size from 2 GB to 8GB.
Again did cmake....
But now, after some time terminal is getting crashed without any warning or error.
I checked with top command and found that some time cpu utilization is getting 85% to 100% by cc1plus and kswapd0.How to overcome this error ?
dmesg output:
-
@prathyuch-1999
I think you have to reduce the number of parallel builds/processes going on. There was a recent (last month?) thread to this effect, you might try to find it while awaiting a definitive answer.@JonB said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
There was a recent (last month?) thread to this effect,
Please share the link of above thread.
-
@JonB said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
There was a recent (last month?) thread to this effect,
Please share the link of above thread.
-
@JonB said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
There was a recent (last month?) thread to this effect,
Please share the link of above thread.
@prathyuch-1999 Simply add -j NUMBER_OF_BUILD_PROCESSES to your cmake --build call...
-
@jsulm
I already did this also, i have 12 core processor so i added -j12 in cmake, but no solution. Same problem exists, terminal getting crashed. -
@jsulm
I already did this also, i have 12 core processor so i added -j12 in cmake, but no solution. Same problem exists, terminal getting crashed.@prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
@jsulm
I already did this also, i have 12 core processor so i added -j12 in cmake, but no solution. Same problem exists, terminal getting crashed.That is not reducing the number of threads ;-) Use
-j1
or-j2
, this will reduce RAM usage considerably. -
@prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:
@jsulm
I already did this also, i have 12 core processor so i added -j12 in cmake, but no solution. Same problem exists, terminal getting crashed.That is not reducing the number of threads ;-) Use
-j1
or-j2
, this will reduce RAM usage considerably.@sierdzio
It didn't worked, same problem.... system is getting stucked.