[Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

Bo Berglund bo.berglund at gmail.com
Thu Nov 16 13:30:25 CET 2023

I have installed Lazarus on a Raspberry Pi4B running bookworm 64 bit operating
I first tried to use fpcupdeluxe to do it but it fails miesrably with a linker
error when building fpc.
So then I decided to try the following:
1) Use apt install fpc to getb the latest 3.2.2 compiler installed.
2) Retrieve the Lazarus 2.2.6 sources from GitLab
3) Then run the make clean && make bigide inside the Lazarus source dir
4) Finally create the $HOME/.local/share/applications/lazarus_2.2.6.desktop
launcher file

This succeeded and after I had created the desktop file for Lazarus in step 4 it
appeared in the RPi4 main menu under Programming.

But when I started it it complains about not finding fppkg.cfg and sure enough
there is no such file to be found, at least not in the locations I have seen

So apparently it has not been created or is in some obscure loication not known
by me.

My Lazarus resides in $HOME/devtools/lazarus/2.2.6 and fpc has been placed in

But I cannot find a file named fppkgh.cfg whereever I look...

What to do now?

Lazarus runs and I can add IDE packages and rebuild Lazarus just fine but
whenever it starts up it shows the dialog requesting the location of

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list