Lazarus installed in non-writable directory -> problems when recompiling
Original Reporter info from Mantis: trev @trevoz
-
Reporter name: Trevor Roydhouse
Original Reporter info from Mantis: trev @trevoz
- Reporter name: Trevor Roydhouse
Description:
A Mac user installs Lazarus and life is good. Sometime later, the user adds a library/component and Lazarus recompiles itself and life is good. The next time Lazarus is started, life is a disaster... the library/component has disappeared.
The issue is that because Lazarus was installed in a directory which is not writable by a normal user (even when that user has admin privileges), Lazarus deposits the new executable in the pcp directory (normally .lazarus in the user's home directory). The next time the user starts Lazarus by clicking on the Lazarus icon in the Applications folder, the original executable is used and not the one that is now located in the pop directory. Unfortunately the Forum is littered with users who have run into this issue (and not just in the English sections of there Forum).
Suggested solution: Install Lazarus in the Applications directory in the user's home directory (/Users/[name]/Applications). If it does not exist it is created when a user uses an Installer and chooses to install an application for a specific user rather than all users of the machine.
Mantis conversion info:
- Mantis ID: 37753
- Version: 2.0.10
- Monitored by: » @trevoz (Trevor Roydhouse)