[Lazarus] Compiling IDE to QT5 fails on Ubuntu
Ross Hemingway
rossh at rosshemail.com
Wed Jul 6 14:17:06 CEST 2022
Per my forum post
https://forum.lazarus.freepascal.org/index.php/topic,59843.0.html
Ubuntu 20, using the 2.2.2 deb files to install.
The IDE rebuild fails to complete with QT5 selected. The error looks to
be that a makefile script (idepkg) is checking for existence of
/usr/share/lazarus//<version-n>//units/x86_64-linux/qt5 and has fatal
error due not allowed to create directory. An empty qt and gtk2
directory exists here, and was created as part of the deb file install,
but not a qt5 directory. None of the IDE rebuild files get stored
here, but the makefile is still checking and has fatal error if
directory qt5 is not found. Issue seems to be some aspects of the old
IDE rebuild process still exist, where it would place the revised units
directly into the /usr/.. directories.
Solution: (easy) have the deb install script create the missing empty
/usr/share/laz...../qt5 dir per above, or (harder) fix the idepkg
makefile to stop checking for locations it no longer uses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20220706/75817bf6/attachment.htm>
More information about the lazarus
mailing list