Recent

Author Topic: fpc cannot installed on MacOS Catalina  (Read 12345 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: fpc cannot installed on MacOS Catalina
« Reply #30 on: April 24, 2020, 09:25:35 am »
I was able to install fpc-src and Lazarus. Despite an error message when launching Lazarus (appearing only the first time Lazarus is opened) everything else looks fine and I was able to compile a simple Cocoa application.

Thanks for the confirmation my workaround works for you!

Indeed, I always get that message dialog with a new installation. I seem to recall it was because the "editormacroscript" package is not supported on macOS.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: fpc cannot installed on MacOS Catalina
« Reply #31 on: April 25, 2020, 01:26:50 am »

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: fpc cannot installed on MacOS Catalina
« Reply #32 on: April 25, 2020, 12:34:55 pm »
Install.log:

Code: [Select]
./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

Thanks for reporting.
I fixed it and uploaded it as fpc-3.0.4-macos-x86_64-laz-2.pkg.
Checksums:

md5sum
3b253ed30dc5ed3255438476df6127a6  fpc-3.0.4-macos-x86_64-laz.pkg
02eae2bd4113773abc6996a78d995068  lazarus-2.0.8-i686-macosx.dmg

sha1sum
ba92270eff1285397d0e2483a433f2d3bfb1d3bc  fpc-3.0.4-macos-x86_64-laz.pkg
db747392e61f2e30830fbb428722e45ab5155635  lazarus-2.0.8-i686-macosx.dmg

sha256sum
691eafadd575ea5d3a52349aaee74eed265fbb4b9df98dcb57b57d5ec1d1541f
fpc-3.0.4-macos-x86_64-laz.pkg
88e8adc42d6194657c56cfce803a7072803dc52622b2bb926c65d8504c040617
lazarus-2.0.8-i686-macosx.dmg

axisdj

  • Jr. Member
  • **
  • Posts: 64
Re: fpc cannot installed on MacOS Catalina
« Reply #33 on: April 25, 2020, 06:05:10 pm »
Thanks so Much!

So I have been moving from vb6 to Laz in the last few weeks, finally got a MAC and tried to install fpc yesterday, and recieved the message failed install yesterday.

I was pretty discourage, BUT you posted a fix last night and I got it all up ands running on the MAC, thank you so much.

Now time to move code to MAC to see if it will compile!



Philippe Aucoin

  • Newbie
  • Posts: 1
fpc cannot installed on MacOS Catalina ?
« Reply #34 on: May 26, 2020, 10:48:33 am »
Hello there,

I'm a new member.
I used Pascal and Lazarus before, on older systems.

On Catalina the release I got from Lazarus-Source forge (3.0.4 64 bits and 2.0.8 ) was easy to install and successful ... but (???)

At first launch a message came telling that a paquet IS NOT installed.
But the first projet I tried worked, compiled, and built too ... but
The Icon off the resulting building had a white sign like non working apps ... but
Actually it worked, then removing this app and re-building worked the right way !

Yes it works on macOS Catalina ! :)

 

TinyPortal © 2005-2018