[Lazarus] Can I rebuild Lazarus installed via apt on an RPi4B?

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Dec 7 00:34:01 CET 2023



On 07.12.23 00:05, Bo Berglund via lazarus wrote:
> Since every customization of Lazarus means the IDE must be rebuilt it also means
> that Lazarus must be installed where the current user has permissions to do
> that.
> 
> But when installing stuff via sudo apt install package it normally gets into
> read-only locations, right?

Yes, this is a multi user installation.


> So how does this work?

Lazarus tests before compiling a package if the output directory is 
writable and if not redirects to a sub directory of its config directory.
This is a feature of the IDE and lazbuild.
The makefiles do not support this, so a "make" fails.
If you want to compile lazarus with make, use a git clone of the lazarus 
repository.


>[...]

Mattias



More information about the lazarus mailing list