Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2022-02

Can fppkg be disabled?

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bernd Mueller

Hello,

coming from Lazarus 2.0.4 (and older versions down to 0.9.24), I tried the latest Lazarus version 2.2.0 (FPC 3.2.2) on Linux.

The ?Configure Lazarus IDE? dialog complaints about a problem with the Fppkg configuration. Since I don?t need the Free Pascal package manager and don?t want to mess around with hidden files and directories in my home directory, I would like to completely remove the dependency of Fppkg from Lazarus.

Is this possible?

Regards, Bernd.

Reply by email

Bernd Mueller
to Bernd Mueller

Hello,

Is this possible?

the workaround below solves the problem for me.

When the "Configure Lazarus IDE" dialog appears for the first Lazarus start, one can ignore the Fppkg tab and start the IDE as it was possible with former Lazarus versions. The (for me annoying) dialog will then no longer appear when Lazarus starts again.

I could not detect any negative effects. The IDE can recompile itself and installing packages via the integrated online package manager was also possible.

Regards, Bernd.

--- main.pp0 2022-01-02 11:01:24.000000000 +0100
+++ main.pp 2022-02-19 14:07:50.640176600 +0100
@@ -1450,6 +1450,7 @@

      end;
    end;
+  (*
    ConfigFile:=EnvironmentOptions.GetParsedFppkgConfig;
    // check fppkg configuration
    if (not ShowSetupDialog)
@@ -1458,6 +1459,7 @@
      debugln('Warning: (lazarus) fppkg not properly configured.');
      ShowSetupDialog:=true;
    end;
+  *)
    // show setup dialog
    if ShowSetupDialog then begin

Reply by email