Recent

Author Topic: What is the recommended way to install 3.99 on macOS?  (Read 800 times)

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
What is the recommended way to install 3.99 on macOS?
« on: September 30, 2024, 01:00:36 am »
* 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  [Select][+][-]
  1. [Sun Sep 29 2024 11:54pm (BST+0100)]    took 3m45s
  2. /Applications/lazarus_trunk  ./lazarus
  3. Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/Users/carlcaulkett/.lazarus"
  4. Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
  5. Hint: (lazarus) [TMainIDE.LoadGlobalOptions]
  6. Hint: (lazarus) LastCalled="/Applications/Lazarus/lazarus"
  7. Hint: (lazarus) CurPrgName="/Applications/Lazarus_trunk/lazarus"
  8. Hint: (lazarus) AltPrgName="/Users/carlcaulkett/.lazarus/bin/lazarus"
  9. TCocoaWidgetSet.GetSystemMetrics TODO 4
  10. TCocoaWidgetSet.GetSystemMetrics TODO 33
  11. TCocoaWidgetSet.GetSystemMetrics TODO 8
  12.  


How can I get this working?
"It builds... ship it!"

TRon

  • Hero Member
  • *****
  • Posts: 3822
Re: What is the recommended way to install 3.99 on macOS?
« Reply #1 on: September 30, 2024, 03:04:56 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...
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  ;)
« Last Edit: September 30, 2024, 03:16:16 am by TRon »
I do not have to remember anything anymore thanks to total-recall.

 

TinyPortal © 2005-2018