Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-10

How to start Lazarus on Mac ?

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Hi,

After installing Lazarus and recompiling it with the packages I need, it restarts and I see the packages I want.

Then I stop lazarus and start it again through Launchpad.

In this case, I get the originally installed Lazarus. No sign of the new packages. I look in the packages list, and it says e.g. 'pas2js selected for install, but not installed'
(or something similar).

If I start Lazarus through the ~/.lazarus/bin/lazarus.app icon, then it works. (I made a link on the desktop, so I can start it).

But, here is the question:

How can I make sure the icon in Launchpad starts the correct (i.e. newly compiled) Lazarus ?

Should not the system installed version detect the 'local' version and start that ?

Michael.

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt
Michael Van Canneyt wrote
Should not the system installed version detect the 'local' version and start that ? From my experience with MacOS, it only looks inside the *.app directory for what to

use. Local (installed in user home folder) doesn't affect it in any way. This is not only a Lazarus issue. I had the same with jEdit (system install & user install). Eventually I removed the system installed version, so there is only every one instance of the app.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 9 lines
On Sun, 4 Oct 2020 15:52:27 +0200 (CEST) Michael Van Canneyt via lazarus wrote: > [...] > Should not the system installed version detect the 'local' version > and start that ? Sounds like: https://bugs.freepascal.org/view.php?id=37753

I think the correct solution is indeed to let the installed "Lazarus.app" start the startlazarus binary. That will then take care of the rest.

Any idea how I can accomplish this myself ?
I tried setting the symbolic link 'lazarus' in /Application/Lazarus.app/Contents/MacOS to ../../../startlazarus, but that does not seem to be enough.

I get strange effects, that's the least I can say :-)

Michael.

Reply by email

Karl-Michael Schindler

Hi

Show quoted text 31 lines
Am 05.10.2020 um 07:56 schrieb : Date: Sun, 4 Oct 2020 22:21:06 +0200 (CEST) From: Michael Van Canneyt To: Mattias Gaertner via lazarus Subject: Re: [Lazarus] How to start Lazarus on Mac ? Message-ID: <alpine.DEB.2.21.2010042211080.22897 at home> Content-Type: text/plain; charset=US-ASCII; format=flowed On Sun, 4 Oct 2020, Mattias Gaertner via lazarus wrote: > On Sun, 4 Oct 2020 15:52:27 +0200 (CEST) > Michael Van Canneyt via lazarus wrote: > >> [...] >> Should not the system installed version detect the 'local' version >> and start that ? > > Sounds like: > https://bugs.freepascal.org/view.php?id=37753 I think the correct solution is indeed to let the installed "Lazarus.app" start the startlazarus binary. That will then take care of the rest. Any idea how I can accomplish this myself ? I tried setting the symbolic link 'lazarus' in /Application/Lazarus.app/Contents/MacOS to ../../../startlazarus, but that does not seem to be enough. I get strange effects, that's the least I can say :-) Michael.

Has anyone checked whether using /opt instead of /usr/local resolves the issue? At least this is the sort of resolution of the package managers fink and macports.

Michael.

Reply by email