[Lazarus] IDE fppkg error message

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] IDE fppkg error message

Free Pascal - Lazarus mailing list
After changing FPC from 3.0.4 to 3.3.1 i see this error on IDE start.

a) ugly caption

b) how to avoid it?

--
Regards,
Alexey


--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus

msg.png (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] IDE fppkg error message

Free Pascal - Lazarus mailing list
Am 24.01.2019 um 13:42 schrieb AlexeyT via lazarus:
> After changing FPC from 3.0.4 to 3.3.1 i see this error on IDE start.
See <http://lists.lazarus-ide.org/pipermail/lazarus/2019-January/235733.html>
Short version:

Lazarus now has a hard dependency on properly (and globally!) configured fppkg,
which requires fpc in your PATH.

Upside: Lazarus supposedly needs it for something to do with fpmake
dependencies, but it only really affects looking up paths of packages installed
via fppkg.
Downside: completely breaks the default Windows setup as well as any
self-contained installations (on any OS).

> b) how to avoid it?
Not currently fixable by a user.

However, as this only occurs when you have never run the fppkg client before,
you also cannot have any fppkg-managed packages, meaning the message is
perfectly safe to ignore. See attached patch, which restores the old logic.
Compiling *will* work even if fppkg is not configured (as it always has), as fpc
correctly uses fpc.cfg to find the package paths.


--
Regards,
Martok


--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus

laz_revert_fppkg.patch (826 bytes) Download Attachment