Recent

Author Topic: Lazarus 4.8 on Sourceforge.net for MacOS  (Read 555 times)

Enos68

  • New Member
  • *
  • Posts: 11
Lazarus 4.8 on Sourceforge.net for MacOS
« on: June 13, 2026, 08:00:47 pm »
Hi,

I saw that 4.8 had been released for MacOS. I am hesitating to download it as 4.6 with FPC 3.2.4RC1 was at first not 4.6, but 4.4 and it was not capable to compile any projects without having the XCode 15 command line tools installed.

Installing lower level XCode command line tools was difficult if at the same time you were working on current XCode version to develop iOS apps.

Currently I am running MacPort's Lazarus package, which 4.4 version and capable to work with the latest XCode install as well.

What I do not understand is, why the guy, who packed Lazarus and Free Pascal for MacPorts could manage to get his Lazarus version able to compile apps on MacOS, while the "official" developer team is still releasing versions which are not working off box.

The solution does not seem to be too difficult as Code Typhon version of Lazarus was working without any issue as well.

Native compilation without any hacking needed, should be the highest priority for the community.

Dreihirn

  • New Member
  • *
  • Posts: 12
MacPorts port - Re: Lazarus 4.8 on Sourceforge.net for MacOS
« Reply #1 on: June 18, 2026, 04:12:06 pm »
I can concur and had similar troubles.  Unfortunately, on macOS 14.8.7 Sonoma the official lazarus-darwin-x86_64-4.8.zip as of 2026-06-07 did not run but requests a system update instead.

However, you seem to be aware of MacPorts already and may please have a look at:
Good news for Installing Lazarus 4.8 on a macOS 14 Sonoma environment.
. . .
This is intended for a system-wide install and thus should be managed from an Administrator account. To install lazarus, paste this into the macOS Terminal after installing MacPorts:
Code: Bash  [Select][+][-]
  1. sudo port install lazarus
Done.
. . .

This may be also applicable to macOS 26 Tahoe, I presume.  Good luck!

Dreihirn

  • New Member
  • *
  • Posts: 12
XCode installs - Re: Lazarus 4.8 on Sourceforge.net for MacOS
« Reply #2 on: June 18, 2026, 04:57:35 pm »
. . .
Installing lower level XCode command line tools was difficult if at the same time you were working on current XCode version to develop iOS apps.
. . .

IMHO, one can rely on the xcode-select --switch mechanism to differentiate between XCode installs as applicable.


However, your mileage may differ.  Hope this might help.

 

TinyPortal © 2005-2018