Forum > macOS / Mac OS X

What is the recommended way to install 3.99 on macOS?

(1/1)

carl_caulkett:
* Mac Mini M1
* macOS 14.6.1
* Lazarus 3.4
* FPC 3.2.2

I have Lazarus 3.4 installed on my Mac and it works well. However, I am keen to investigate v3.99, but I am unclear as to where I should download it. I've been told that I can just download Lazarus 3.99 and just build it with my existing FPC 3.2.2, and avoid the need to use Fpcupdeluxe.

I've downloaded the source from https://gitlab.com/freepascal.org/lazarus/lazarus, and started the build, as instructed, with `make clean bigide` which eventually succeeds (apparently).
However, when I run `./lazarus` from the `/lazarus_trunk` folder, I see the splash screen flash up for a split second and then I see this message on the command-line...

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---[Sun Sep 29 2024 11:54pm (BST+0100)]    took 3m45s/Applications/lazarus_trunk  ./lazarusHint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/Users/carlcaulkett/.lazarus"Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"Hint: (lazarus) [TMainIDE.LoadGlobalOptions]Hint: (lazarus) LastCalled="/Applications/Lazarus/lazarus"Hint: (lazarus) CurPrgName="/Applications/Lazarus_trunk/lazarus"Hint: (lazarus) AltPrgName="/Users/carlcaulkett/.lazarus/bin/lazarus"TCocoaWidgetSet.GetSystemMetrics TODO 4TCocoaWidgetSet.GetSystemMetrics TODO 33TCocoaWidgetSet.GetSystemMetrics TODO 8 

How can I get this working?

TRon:

--- Quote from: carl_caulkett on September 30, 2024, 01:00:36 am ---However, when I run `./lazarus` from the `/lazarus_trunk` folder, I see the splash screen flash up for a split second and then I see this message on the command-line...

--- End quote ---
Looks like you did everything correct except for one thing, see multiple lazarus

If you want to separate versions of lazarus installed you have to make sure that the configuration directory differs between the installations, meaning either create a lazarus.cfg file or provide the --pcp option (both options as instructed in the wiki).

btw it is advisable to run startlazarus instead of lazarus (but I do not know if the mac build creates startlazarus).

Be advised that it might be that starting the 3.99 version messed up the configuration of your 3.4 installation (because 3.99 took over and might have introduced new,  changed or update config options).

fwiw: I never rely on the primary and secondary config options because that takes exactly 2 to tango and I prefer to do my tango with more people involved  ;)

Navigation

[0] Message Index

Go to full version