[Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?
Aurimenes Silva
aurimenes at gmail.com
Thu Nov 16 13:59:51 CET 2023
I wonder, isn't this somehow related to writing permissions on your system?
I can't help much because I use Windows here, but that's the content of
my fppkg.cfg file (located in fpcsrc\utils\fpcmkcfg):
[Defaults]
ConfigVersion=4
LocalRepository=%LocalRepository%
BuildDir={LocalRepository}build/
ArchivesDir={LocalRepository}archives/
CompilerConfigDir=%CompilerConfigDir%
RemoteMirrors=https://www.freepascal.org/repository/mirrors.xml
RemoteRepository=auto
CompilerConfig=default
FPMakeCompilerConfig=default
Downloader=FPC
I installed it using the standard Windows installer.
Em 16/11/2023 09:30, Bo Berglund via lazarus escreveu:
> I have installed Lazarus on a Raspberry Pi4B running bookworm 64 bit operating
> system.
> 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
> before.
>
> 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
> /usr/bin/fpc.
>
> 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
> fppkg.cfg...
>
>
--
O software antivírus Avast realizou uma checagem de vírus neste e-mail.
www.avast.com
More information about the lazarus
mailing list