[Lazarus] Exception=Unable to create file "/etc/fppkg/default"
Vojtěch Čihák
vojtech.cihak at atlas.cz
Sun Dec 30 18:17:11 CET 2018
What config file?
My /etc/fppkg.cfg is:
[Defaults]
ConfigVersion=4
LocalRepository={UserDir}.fppkg/
BuildDir={LocalRepository}build/
ArchivesDir={LocalRepository}archives/
CompilerConfigDir=/etc/fppkg
RemoteMirrors=https://www.freepascal.org/repository/mirrors.xml
RemoteRepository=auto
CompilerConfig=default
FPMakeCompilerConfig=default
Downloader=FPC
so there are both pathes.
The only mention of fppkg in /etc/fpc.cfg is:
# searchpath for fppkg user-specific packages
-Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/*
However, it worked before, both configs are date 8-12-2017.
V.
______________________________________________________________
> Od: "Joost van der Sluis via lazarus" <lazarus at lists.lazarus-ide.org>
> Komu: lazarus at lists.lazarus-ide.org
> Datum: 30.12.2018 17:19
> Předmět: Re: [Lazarus] Exception=Unable to create file "/etc/fppkg/default"
>
Op 30-12-18 om 15:16 schreef Bart via lazarus:
> On Sun, Dec 30, 2018 at 2:42 PM Vojtěch Čihák via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
>> Lazarus(SVN) at startup tries to write at /etc/fppkg/ where it has no rights. The same file exists /home/$USERNAME/.fppkg/
That ain't good.
> There are more issues with r59933: see
> https://bugs.freepascal.org/view.php?id=34780 <https://bugs.freepascal.org/view.php?id=34780>
This basically means that your fpc is not properly configured. I'll have
to add a check somewhere (startup) for these settings.
And maybe suppress these messages, as long as a user does not use this
functionality.
It could be useful to know the revision that introduced this behavior.
It is probably not r59933, could it be r59934?
Regards,
Joost.
--
_______________________________________________
lazarus mailing list
lazarus at lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20181230/143a1640/attachment.html>
More information about the Lazarus
mailing list