Board index FlightGear Support Compiling

Didn't match: qt5-default on Ubuntu 21.04

Building FlightGear from source, and in the need for help?

Didn't match: qt5-default on Ubuntu 21.04

Postby abassign » Thu May 13, 2021 8:03 am

Hello,

when compiling with the script:
download_and_compile.sh
in Ubuntu 21.04 the compilation fails because it does not find qt5-default which in fact is no longer present in the standard Ubuntu libraries, theoretically I should recompile it as explained in this post:

https://askubuntu.com/questions/1335184/qt5-default-not-in-ubuntu-21-04

But it seems to me that the problem is more far-reaching which requires a solution.

In your opinion, what should I do to complete the compilation?
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: Didn't match: qt5-default on Ubuntu 21.04

Postby wkitty42 » Thu May 13, 2021 1:10 pm

i've forwarded this to the mailing list so the dnc script can be updated...

you really have (at least) two choices...
1. manually install those packages as indicated in the askubuntu link and tell dnc to not install packages...
2. wait for the dnc script to be updated...

#1 assumes all other necessary packages have been installed...

hopefully the dnc script maintainer will have an update out soon...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Didn't match: qt5-default on Ubuntu 21.04

Postby wkitty42 » Thu May 13, 2021 4:08 pm

from the mailing list...
Didn't match: qt5-default on Ubuntu 21.04
viewtopic.php?f=45&t=39159


Thanks for the good report with pointers. I'm a bit doubtful that this
only thing could be the cause of a build failure, because qt5-default
was only an optional dependency. However, the following commit:

https://sourceforge.net/p/flightgear/fgmeta/ci/aaf52f06286f968500528481ca775ccf045d8b6c/

should cause d&c.sh to stop complaining about missing qt5-default. I
think the set of optional deps is enough to make sure we can build FG
with Qt5. If this still fails, we'll need the compilation log.
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Didn't match: qt5-default on Ubuntu 21.04

Postby abassign » Thu May 13, 2021 7:00 pm

wkitty42 wrote in Thu May 13, 2021 1:10 pm:i've forwarded this to the mailing list so the dnc script can be updated...


Thank you for explaining the problem. At this point, since the launch application uses qt5, I simply put a comment # on the line of code you reported to me:
Code: Select all
 #_optional_pkg_alternative qt5-default

At this point the compilation went well. It is evident that since that library is obsolete, it is replaced in Ubuntu 21.4 by one of the libraries already compiled in the original Ubuntu 21.4 installation.
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: Didn't match: qt5-default on Ubuntu 21.04

Postby wkitty42 » Thu May 13, 2021 7:12 pm

actually, it is not replaced... it is just not created any more while other packages now provide the necessary pieces...

i'm also not sure i understand your statement of commenting out the line of code... yes, that is another way to work around the problem... what i was saying was to tell the script to not install packages by using its "-a n -p n" options...

in any case, be sure to update your fgmeta to get the latest download_and_compile.sh ;)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04


Return to Compiling

Who is online

Users browsing this forum: No registered users and 4 guests