[Lazarus] New install on Ubuntu 20.04.3 Cinnamon - Errors when recompiling IDE

Bo Berglund bo.berglund at gmail.com
Tue Nov 23 11:55:11 CET 2021


On Tue, 23 Nov 2021 11:12:42 +0100, Bo Berglund via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>I have installed Lazarus 2.0.12 and FPC 3.2.2 from sources retrieved from GitLab
>on a new Linux Ubuntu 20.04.3 LTS with the Cinnamon desktop environment.
>
>After starting Lazarus I have used OLPM to add a number of packages I always use
>in my Lazarus setups.
>But when doing the install and ending with the Lazarus rebuild it exits with the
>following error messages:
>
>lazarus.pp(162,3) Note: Call to subroutine "function GetDebugger:TLazLogger;"
>marked inline is not inlined
>lazarus.pp(166,1) Error: resource compiler "fpcres" not found, switching to
>external mode
>

Turns out that I was hit by the *same* problem 18 months ago and I got a
solution then right here from Mattias Gaertner...

Look at the thread starting On Sun, 24 May 2020 22:21:31 +0200
titled: Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities
https://lists.lazarus-ide.org/pipermail/lazarus/2020-May/238019.html

But unlike that time VNC is *not* involved at all since I am now working inside
a VMWare virtual macine with direct access to the desktop.
Still the same problem occurs. And the solution also works.

Right now I have decided to document all details of FPC/Lazarus installation
from sources on Linux since the move to GitLab disrupted all of my instrall
scripts.

This "detail" has now entered my notes as well so it will be the last time I
bother you with this.


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list