Recent

Author Topic: Muliple Lazarus found  (Read 255 times)

winni

  • Hero Member
  • *****
  • Posts: 2282
Muliple Lazarus found
« on: April 05, 2021, 09:06:07 pm »
Hi!

Some days ago Suse Tumbleweed did an update from lazarus 2.0.12-1.2 to lazarus 2.0.12-1.3

Since then I have been asked every time "Which Lazarus should be started?" - the local one or the system wide? ( See  attachment)

Where do I configure that the local one is started?
And what did the update do with my configuration?

Winni
« Last Edit: April 05, 2021, 09:09:15 pm by winni »

MarkMLl

  • Hero Member
  • *****
  • Posts: 2400
Re: Muliple Lazarus found
« Reply #1 on: April 05, 2021, 09:23:51 pm »
See ide/lazarusmanager.pas which is apparently part of StartLazarus, there's notes at the front which might be useful.

How are you trying to start Lazarus? If it's a menu entry it might be worth looking what it's pointing to... I'd guess StartLazarus.

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1379
  • Former Delphi 1-7, 10.2 User
Re: Muliple Lazarus found
« Reply #2 on: April 06, 2021, 06:34:21 am »
I suspect the cause is that Lazarus is/was installed in a user read-only directory and you added a package which caused Lazarus to recompile itself as a mere user in which case it deposits the new binary in .lazarus/bin in your home directory. startlazarus then decides which binary to start, the read-only one or, if there's one in .lazarus/bin it starts that one.
Lazarus 2.1 r64861 FPC 3.3.1 r49035 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r64891 3.3.1 r49100 macOS 11.2.3 aarch64 Xcode 12.4
Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018