Lazarus

Installation => macOS / Mac OS X => Topic started by: sweetcorn on November 13, 2019, 11:50:04 pm

Title: fpc cannot installed on MacOS Catalina
Post by: sweetcorn on November 13, 2019, 11:50:04 pm
hi new member here,

 i just downloaded fpc  3.0.4 from https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/ and during the end of the installation it's said that the installation failed.

please help me to solve this thanks.
Title: Re: fpc cannot installed on MacOS Catalina
Post by: willbprog9933 on November 14, 2019, 07:07:06 am
Hi sweetcorn,

They are still working out the details to get Lazarus and FPC installing on macOS Catalina.  I'm waiting along with you for this to happen. :)
Title: Re: fpc cannot installed on MacOS Catalina
Post by: Thaddy on November 14, 2019, 09:21:56 am
Hi sweetcorn,

They are still working out the details to get Lazarus and FPC installing on macOS Catalina.  I'm waiting along with you for this to happen. :)
It works. As Mathias and I wrote.
What exactly goes wrong? details, plz.
Title: Re: fpc cannot installed on MacOS Catalina
Post by: sweetcorn on November 14, 2019, 01:24:31 pm
Hi sweetcorn,

They are still working out the details to get Lazarus and FPC installing on macOS Catalina.  I'm waiting along with you for this to happen. :)
It works. As Mathias and I wrote.
What exactly goes wrong? details, plz.

hi thank you for responding,

i recently downloaded FPC on MacOs Catalina, i followed all the step from downloading the xcode and install command line tools. When i install the Fpc 3.0.4 it said that Fpc-3.0.4-macos-x86_64-laz.pkg was not correctly installed. But, when i installed the fpcs and lazaruzIDE it's installed correctly
Title: Re: fpc cannot installed on MacOS Catalina
Post by: Thaddy on November 14, 2019, 04:37:35 pm
Glad to see it is solved.
Title: Re: fpc cannot installed on MacOS Catalina
Post by: sweetcorn on November 15, 2019, 01:28:27 am
Glad to see it is solved.

yeah it solved for the fpcs and LazarusIDE but not the fpc itself. I already re-installed th fpc but i still got the same message it said Fpc 3.0.4 it said that Fpc-3.0.4-macos-x86_64-laz.pkg was not correctly installed.
Title: Re: fpc cannot installed on MacOS Catalina
Post by: Thaddy on November 15, 2019, 07:52:35 am
Well, I tested again: no problems here. Did you check the install log? We really need as much information as we can get.
It may simply mean some dependencies are missing, but fpc on its own has no dependencies other than the linker AFAIK.
The least you can do is check the hash and examine install.log
Title: Re: fpc cannot installed on MacOS Catalina
Post by: MacDragon on November 16, 2019, 08:49:04 am
"installd[762]: ./postinstall: /tmp/PKInstallSandbox.g3WYL4/Scripts/org.freepascal.pkg.fpc-macos-x86-64-laz.fYIHB1/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"

This is after fpcs and lazarus packages already installed, on latest Catalina 10.15.2 beta.
Title: Re: fpc cannot installed on MacOS Catalina
Post by: sweetcorn on November 17, 2019, 01:36:34 am
Well, I tested again: no problems here. Did you check the install log? We really need as much information as we can get.
It may simply mean some dependencies are missing, but fpc on its own has no dependencies other than the linker AFAIK.
The least you can do is check the hash and examine install.log

i just check the install log and it said that:

./postinstall: rm: ///usr/local/lib/fpc/Error: ppcx64 can't be executed, error message: Failed to execute "ppcx64", error code: 127/ide/text/fp.cfg.tmp: No such file or directory
Title: Re: fpc cannot installed on MacOS Catalina
Post by: madref on November 20, 2019, 10:14:21 am
Have you tried to install the fpc-3.0.4a.intel-macosx.dmg ?


That's what helped me on MacOS Majave
Title: Re: fpc cannot installed on MacOS Catalina
Post by: Swirl on November 24, 2019, 05:28:07 pm
Same Problem here.
Catalina (10.15.1) already refuses to install "fpc-3.0.4a.intel-macosx.dmg" telling that "Dieses
Paket ist nicht mit dieser macOS-Version kompatibel" (Package is not compatible with this macOS
version). Installation attempt on system volume is blocked. Thus I did not install fpc source nor
lazarus. Honestly spoken I expected this due to Apples system "hardening".
I tried to install on a different volume but installation insists on installing on system volume.
Maybe someone can provide a way how to install on another volume.
Regards,
Mike