Lazarus FPC package install fails on macOS Catalina
Original Reporter info from Mantis: trev @trevoz
-
Reporter name: Trevor Roydhouse
Original Reporter info from Mantis: trev @trevoz
- Reporter name: Trevor Roydhouse
Description:
This applies to the new fpc-3.0.4-macos-x86_64-laz.pkg available from the Lazarus file area in Sourceforge for both Lazarus 2.0.6 and 2.0.8 - the old working package for 2.0.6 was also replaced for some reason.
Install log:
./postinstall: /tmp/PKInstallSandbox.vFZ5uH/Scripts/org.freepascal.pkg.fpc-macos-x86-64-laz.QajxE2/postinstall: line 8: /usr/local/lib/fpc/Error: ppcx64 can't be executed, error message: Failed to execute "ppcx64", error code: 127/samplecfg: No such file or directory
There appears to be two issues after the unsuccessful installation of the FPC package:
- there is no link in /usr/local/bin to the ppcx64 executable;
- the /private/etc/fpc.cfg (aka /etc/fpc.cfg) file is zero bytes.
Steps to reproduce:
Install Lazarus 2.0.6 or 2.0.8 using the files available from the Lazarus file download area on Sourceforge.
Additional information:
See https://forum.lazarus.freepascal.org/index.php/topic,47408.msg358308.html#msg358308 onwards.
Mantis conversion info:
- Mantis ID: 36968
- OS: macOS
- OS Build: 10.15.4
- Platform: Apple
- Version: 2.0.8
- Monitored by: » @trevoz (Trevor Roydhouse)