IDE: FPPKG requires root on Linux (and other *nix systems)
Original Reporter info from Mantis: ptrg
-
Reporter name: Péter Gábor
Original Reporter info from Mantis: ptrg
- Reporter name: Péter Gábor
Description:
This is (also) an IDE bug at this moment because Lazarus (trunk) uses FPPKG by default (without installing the package itself).
But the main problem is that FPPKG requires root access to write the backup file of its configuration in /etc. This is an old problem, but because I did not use FPPKG it was not annoying for me.
The following message appears (always) when I try to compile something with lazbuild:
Error: (lazbuild) An error occured during the initialization of Fppkg: %s.
Check your Fppkg configuration and restart Lazarus to be able to use Fppkg's functionality.
An error occured during the initialization of Fppkg: Backup of file "/etc/fppkg/default" to file "/etc/fppkg/default.bak" failed..
Check your Fppkg configuration and restart Lazarus to be able to use Fppkg's functionality.
The following message appears (always) when I start the IDE:
An error occured during the initialization of Fppkg: Backup of file "/etc/fppkg/default" to file "/etc/fppkg/default.bak" failed..
Check your Fppkg configuration and restart Lazarus to be able to use Fppkg's functionality.
It seems that FPPKG ignores the "--primaryconfigpath" command line parameter passed to the IDE.
Also I think using fppkg without installing the package in the IDE is a mistake.
(I'm on Linux / XFCE / GTK2)
Mantis conversion info:
- Mantis ID: 34808
- Fixed in version: 3.3.1
- Fixed in revision: r40711 (#d63f6ad9)