Recent

Author Topic: Freepascal install on macOS 10.15 Catalina  (Read 17219 times)

JLucB

  • New member
  • *
  • Posts: 8
Freepascal install on macOS 10.15 Catalina
« on: October 09, 2019, 11:29:43 am »
Freepascal installer is not working on macOS 10.15 Catalina.

macOS is now installed on a read-only partition and won't allow Freepascal installer to proceed. Is there an update scheduled soon ?

Valderrama

  • Newbie
  • Posts: 2
Re: Freepascal install on macOS 10.15 Catalina
« Reply #1 on: October 09, 2019, 04:40:07 pm »
Same here. After installing Catalina, my existing install of Lazarus for Mac (2.0.2) was moved to a relocated items folder under shared, from where it no longer works. I look forward to an updated version of Lazarus that will work under Catalina. Thanks for all the hard work :)

willbprog9933

  • Jr. Member
  • **
  • Posts: 93
  • Big guy, tiny brain :P
    • BrainOut!
Re: Freepascal install on macOS 10.15 Catalina
« Reply #2 on: October 09, 2019, 07:15:21 pm »
I'm also waiting with bated breath for the 64-bit release of Free Pascal and Lazarus.  :D  Catalina has messed up a lot of things for me, including MacPorts (no Catalina version available as of this writing).
macOS, Linux, FreeBSD and sometimes OpenIndiana.

Blessed, loved and forgiven! :D

mischi

  • Full Member
  • ***
  • Posts: 170
Re: Freepascal install on macOS 10.15 Catalina
« Reply #3 on: October 09, 2019, 10:56:28 pm »
I'm also waiting with bated breath for the 64-bit release of Free Pascal and Lazarus.  :D  Catalina has messed up a lot of things for me, including MacPorts (no Catalina version available as of this writing).
As much as I know, MacPorts is already partly on Catalina and should be completely soon. I haven't updated so far, but fpc 64bit should be fine. If not, report to me and I will try to take care of it. I am testing lazarus from the fixes branch of 2.0. The cocoa 64bit based lazarus can be compiled. The MacPorts port is submitted, but under review, which may take some time.

JLucB

  • New member
  • *
  • Posts: 8
Re: Freepascal install on macOS 10.15 Catalina
« Reply #4 on: October 14, 2019, 10:23:34 am »
Any update on this issue ?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: Freepascal install on macOS 10.15 Catalina
« Reply #5 on: October 14, 2019, 12:49:09 pm »
Isn't it a matter of simply turning off gatekeeper?

JLucB

  • New member
  • *
  • Posts: 8
Re: Freepascal install on macOS 10.15 Catalina
« Reply #6 on: October 14, 2019, 02:40:32 pm »
Isn't it a matter of simply turning off gatekeeper?

Unfortunately no... The issue is that FreePascal installer tries to install FreePascal components in the OS partition that is a read-only one with macOS Catalina...
FreePascal installer must be modified accordingly.

Dan3468298

  • Full Member
  • ***
  • Posts: 131
Re: Freepascal install on macOS 10.15 Catalina
« Reply #7 on: October 14, 2019, 09:59:19 pm »
Isn't it a matter of simply turning off gatekeeper?

Unfortunately no... The issue is that FreePascal installer tries to install FreePascal components in the OS partition that is a read-only one with macOS Catalina...
FreePascal installer must be modified accordingly.

Well, I am on Catalina now.  When will the FP Installer work on Catalina?
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

MISV

  • Hero Member
  • *****
  • Posts: 772
Re: Freepascal install on macOS 10.15 Catalina
« Reply #8 on: October 19, 2019, 02:17:12 am »
I recall https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases installs everything into subfolders to the installation (and configures project file accordingly) ... Maybe a solution?

Albeit in Lazarus I have needed to add this in "project options" - "custom options" ... (I do not know if it is still necessary when using FPCUpDeluxe)

Code: Pascal  [Select][+][-]
  1. -WM10.8
  2. -FD/Library/Developer/CommandLineTools/usr/bin

Note: I am not on Catalina yet, so not 100% sure if the above still works
« Last Edit: October 19, 2019, 02:23:25 am by MISV »

JLucB

  • New member
  • *
  • Posts: 8
Re: Freepascal install on macOS 10.15 Catalina
« Reply #9 on: October 22, 2019, 12:31:00 am »
I recall https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases installs everything into subfolders to the installation (and configures project file accordingly) ... Maybe a solution?

Albeit in Lazarus I have needed to add this in "project options" - "custom options" ... (I do not know if it is still necessary when using FPCUpDeluxe)

Code: Pascal  [Select][+][-]
  1. -WM10.8
  2. -FD/Library/Developer/CommandLineTools/usr/bin

Note: I am not on Catalina yet, so not 100% sure if the above still works

Seems like someone already tried and reported an issue "Cannot install on Mac Os Catalina" : https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/147

drc007

  • Newbie
  • Posts: 1
Re: Freepascal install on macOS 10.15 Catalina
« Reply #10 on: November 12, 2019, 03:23:54 pm »
Isn't it a matter of simply turning off gatekeeper?

Unfortunately no... The issue is that FreePascal installer tries to install FreePascal components in the OS partition that is a read-only one with macOS Catalina...
FreePascal installer must be modified accordingly.

Well, I am on Catalina now.  When will the FP Installer work on Catalina?



I'd also be interested in an update?

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 78
Re: Freepascal install on macOS 10.15 Catalina
« Reply #11 on: November 12, 2019, 03:45:02 pm »
I'd also be interested in an update?

Thanks to Mattias Gaertner, this works now for me:
  https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/



madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Freepascal install on macOS 10.15 Catalina
« Reply #12 on: November 20, 2019, 10:17:03 am »
Have you tried to install the fpc-3.0.4a.intel-macosx.dmg ?That's what helped me on MacOS Majave
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

AnthonyTekatch

  • Jr. Member
  • **
  • Posts: 78
Re: Freepascal install on macOS 10.15 Catalina
« Reply #13 on: November 20, 2019, 11:51:27 am »
Have you tried to install the fpc-3.0.4a.intel-macosx.dmg ?That's what helped me on MacOS Majave
The title of this subject should be changed to [SOLVED].

The link I provided above has everything fixed for Catalina (including the FPC files).

maxnd

  • Jr. Member
  • **
  • Posts: 65
Re: Freepascal install on macOS 10.15 Catalina
« Reply #14 on: November 25, 2019, 05:42:34 pm »
Hi, I tried to install on Catalina the packages from the link you provided, https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/. The installation of fpc-src-3.0.4-laz.pkg in /usr/local/share/fpcsrc/3.0.4. was fine, but that of fpc-3.0.4-macos-x86_64-laz.pkg in /usr/local/lib/fpc/3.0.4 raised an error at the end, even if all seemed to be installed properly. Anyway, when I try to compile something, this error is raised (translated by Italian):
Code: Pascal  [Select][+][-]
  1. Fatal: Impossible to find FPimage used by InterfaceBase of package LCLBase.
If I try to open and compile LCL Base this error is raised:
Code: Pascal  [Select][+][-]
  1. lclproc.pas(28,18) Fatal: Impossible to find MacOSAll used by LCLProc from the package LCLBase.
So what's wrong? Does this mean that the fpc are not really installed properly?

Thanks for help!

 

TinyPortal © 2005-2018